Answer
Aviator glasses that transmit yellow light eliminate the glare from strongly scattered blue/violet skylight.
Work Step by Step
Their advantage over uniformly shaded glasses (or red glasses) is that the human eye is especially sensitive to yellow-green light, so the transmitted light lets the pilot see clearly.