What is Light? - Sunlight

Yellow Light Is the Most Intense Wavelength in Sunlight

What color do you see in the light reaching us from the sun?

Separating sunlight into its component wavelengths results in the spectrum shown below. The greatest amount of sunlight is emitted at wavelengths around 500 nanometers, so you can easily see why sunlight appears yellow. This spectrum matches the spectrum of light emitted by an object at 6,000 degrees Kelvin in temperature, which backs up the previously mentioned fact that the surface temperature of the sun is 6,000 degrees Kelvin.

As you can see, the spectrum of electromagnetic waves emitted by a heated object can be used to figure out its temperature. For example, Sirius, a bluish-white first magnitude star in the constellation Canis Major, is known to have a high surface temperature exceeding 10,000 degrees Kelvin.