Despite being classified as a yellow star, the Sun is actually white when seen from space. It only appears yellow or orange from us here on Earth because of the atmosphere.
Tidbit

Despite being classified as a yellow star, the Sun is actually white when seen from space. It only appears yellow or orange from us here on Earth because of the atmosphere.