The sun is yellowish-white. That’s the color they told us at the Harvard-Smithsonian Observatory semester course I took in astrophysics, that’s the color I’m sticking with.
Here’s why.
Cool stars have most of their light shining in the red end of the visible spectrum, so they look red. Slightly warmer stars shine orange, because most of their brightest light shines in that part of the spectrum. Interestingly though, they shine red light brighter than the red stars do. It’s just that the orange is even brighter. There’s also a decent amount of yellow light in the orange stars, as well.
Getting hotter, there are some yellow stars. These shine orange and red even brighter than the orange and red stars do, it’s just that the yellow is even brighter than that. There’s also green and blue light coming from them that the yellow overpowers as well.
The very brightest wavelengths of visible light from the sun are in the portion of the spectrum we see as green. However, the green part of the spectrum is very narrow, whereas the yellow part is very wide. So there’s a lot of yellow at a bunch of different wavelengths shining just about as bright as the green. But at this point, all the visible colors of the spectrum are shining pretty friggin bright, which means the light looks mostly white, but most of the very brightest light from the sun is yellow, so it’s white with a yellow tinge.
Stars a bit hotter than the sun shine a more pure white, even though one might expect that they’d look green or greenish blue. That is in fact the brightest light coming from them, but there’s so much bright light at all wavelengths at that point, they look white.
Hotter still, we get to bluish-white (stars hot enough to shine blue shine a LOT of blue light, and the amount of light in the rest of the spectrum coming from them overpowers their levels in cooler stars to a degree that it’s just not funny.)
There are stars even hotter than that, that are a more pure blue. These stars are shining crazy amounts of all frequencies of light, but the blue is just that much brighter.
So the sun doesn’t look a lot different in our sky than it looks from space, yellow-white. But isn’t the blue sky caused by scattered sunlight? Yes, but not so much from the sunlight shining directly down on us, but from the light shining toward spots on the earth where the sun appears to be on the horizon. The blue from the light shining in those directions gets scattered our way to make our blue sky in daylight, and those parts of the world that are experiencing sunset or sunrise get the light leftover, which heavily skews toward red and orange.