The total number of ways to choose 2 balls from 9 (4 red, 3 blue, and 2 green) is \( \binom{9}{2} = 36 \).
The favorable outcomes are selecting 2 red balls, 2 blue balls, or 2 green balls:
- For red: \( \binom{4}{2} = 6 \)
- For blue: \( \binom{3}{2} = 3 \)
- For green: \( \binom{2}{2} = 1 \)
Thus, the total favorable outcomes are \( 6 + 3 + 1 = 10 \).
Therefore, the probability is \( \frac{10}{36} = \frac{5}{18} \).