I’m surprised that no one actually answered the question. I thought it was well known!
Visibility range
The contrast of an object to its background has a notable effect on its visibility, if contrast is low (for example a white building against a snowy white mountain) then the range at which objects can be seen is reduced. A clean and dry windscreen also helps increase visibility range (and reduces accidents), as do clean sun glasses and spectacles.
Illumination by the sun or the moon does not alter visibility, it does alter range. The best conditions occur when looking with the sun in your back (down sun) or towards the moon, one can see the silhouette of the objects better that way.