The Sun is actually white. Viewed from space or a high altitude, it appears as its true color white, whereas when it is viewed from a low altitude, atmospheric rendering makes it appear to be what we believe as yellow.