Question: do khaki shorts and grey shirt match?
Answer: Yes absolutely. Khaki is a very versatile color and matches with almost everything especially neutral shades such as blue, white,navy,black,grey. As a result you can combine many different shirt colors and patterns and pull off a variety of outfits, casual or dressy. In your case a grey shirt is quite a good match.