Why does the Sun appear slightly yellow when viewed through the atmosphere?

Answer

Much of its blue component has been scattered away from the direct line of sight

Because blue light is scattered in all directions across the sky by atmospheric molecules, the light traveling directly from the Sun to the observer is depleted of blue, making the Sun appear yellower than pure white.

Why does the Sun appear slightly yellow when viewed through the atmosphere?

#Videos

Why Does The Sky Change From Blue To Black? | Earth Science

Spacelightcolorskyatmosphere