The green flash and green ray are meteorological optical phenomena that sometimes occur transiently around the moment of sunset or sunrise. When the conditions are right, a distinct green spot is briefly visible above the Sun's upper limb; the green appearance usually lasts for no more than two seconds. Rarely, the green flash can resemble a green ray shooting up from the sunset or sunrise point.
Green flashes occur because the Earth's atmosphere can cause the light from the Sun to separate, or refract, into different colors. Green flashes are a group of similar phenomena that stem from slightly different causes, and therefore, some types of green flashes are more common than others.
Green flashes may be observed from any altitude. They usually are seen at an unobstructed horizon, such as over the ocean, but are possible over cloud tops and mountain tops as well. They may occur at any latitude, although at the equator, the flash rarely lasts longer than a second.
The green flash also may be observed in association with the Moon and bright planets at the horizon, including Venus and Jupiter. With an unrestricted view of the horizon, green flashes are regularly seen by airline pilots, particularly when flying westwards as the sunset is slowed. If the atmosphere is layered, the green flash may appear as a series of flashes.
While observing at the Vatican Observatory in 1960, D.J.K. O'Connell produced the first color photograph of the green flash at sunset.
Green flash occurs because the atmosphere causes the light from the Sun to separate, or refract, into different frequencies. Green flashes are enhanced by mirages, which increase refraction. A green flash is more likely to be seen in stable, clear air, when more of the light from the setting sun reaches the observer without being scattered. One might expect to see a blue flash, since blue light is refracted most of all and the blue component of the sun's light is therefore the last to disappear below the horizon, but the blue is preferentially scattered out of the line of sight, and the remaining light ends up appearing green.