I think the sun changed of color depends on time of day. It can be white the whole day and orange during sunset.
Its always yellow but during day time we feel its white but its not white, its due to its direct contact to our eye and during sunset the rays of suns is not much there so it looks yellow more than day time.