The sun is yellow
It’s actually white. The reason it looks yellow most of the time is because of the distortion from our atmosphere.