# Why is the sky blue and the sun yellow?

The blue color of light of the sky is due to Rayleigh scattering.

But the sun itself appears yellow in color whereas the scattered sunlight itself appears blue.

Why does this happen? Should the sun then not also appear blue in color?

• Oct 20, 2017 at 10:26
• You can also watch walter lewin's last lecture m.youtube.com/watch?v=4a0FbQdH3dY and start at 35 minutes or so, he explains why the sun is red at dawn/dusk. Nov 12, 2017 at 19:34

Raleigh scattering is very weak so the vast majority of the light from the Sun passes through the atmosphere without being scattered. That means when we look at the Sun we see the 99% of the light that isn't scattered, and that light has the original 5,700K colour spectrum.

The only light we see directly from the Sun is the light that travels in a straight line from the Sun to our eye - that's the horizontal yellow line in this diagram. If you consider the upper yellow line we can't see this light ray because it misses our eye. However the Rayleigh scattering due to the air scatters in all directions, so some of this scattered light reaches our eye. That means when we look away from the Sun we only see the scattered light and not the direct sunlight.

The Rayleigh scattering depends on the wavelength and blue light is scattered most. That means the light we see coming from directions away from the Sun has a spectrum weighted towards the blue. NB it isn't pure blue light. It's a spectrum of light enriched in blue compared to the direct sunlight. A spectrum of the scattered light from the blue sky is given in this answer:

And that's why the Sun looks yellow and the sky looks blue.

• how is it possible that the rays coming from sun to the eye do not interact with air at all? Oct 20, 2017 at 7:56
• This is a simplification to convey the point that blue is diffused much more than yellow.
– user154997
Oct 20, 2017 at 8:04
• Then why is it not a mixture of red. orange etc if they are not scattered? Oct 20, 2017 at 8:09
• We see 99% of the light that isn't scattered. What happens to the remaining 1% of light that isn't scattered? And I find the second figure hard to interpret. Late afternoon sunlight is as direct as noon, and one latitude's noon is another latitude's late afternoon. Would be far more useful to plot it by solar zenith angle. And if direct sunlight were yellow, why is everything white on the photos taken on the moon? Doesn't that imply that the subtraction of blue light from midday sunlight is in fact significant, in spite of your 99% figure (and where does that figure come from anyway)? Oct 20, 2017 at 10:43