A drawer contains 5 red socks, 3 green socks, and 2 black socks. Two socks are chosen at random. What is the probability that they match? Express the answer in decimals.