astronomylabFor teachers
Turn up the temperature.

Star color & luminosity

See how a star’s temperature and size set its color, peak wavelength (Wien’s law) and luminosity (Stefan–Boltzmann law). The Sun: 5,772 K, peak near 502 nm.

Star color & luminosityInteractive model
5,772 K · illustrative color
Luminosity1 Sun
Peak wavelength502 nm
Apparent colorYellow-white

Your experiment

L / L☉ = 1² × (5,772 / 5772)⁴ = 1. Wien peak = 2,897,772 / 5,772 = 502.04 nm.

How it works

L / L☉ = (R / R☉)² × (T / 5772 K)⁴

Temperature strongly affects emitted power per unit area. A large, cool star can be more luminous than a small, hot star because it has more radiating surface. Wien’s law relates temperature to the wavelength of peak emission.

Star Color, Temperature & Luminosity Explained ↗

About this model
Stars are approximated as blackbodies. Display colors are illustrative, not calibrated spectra. Radius is shown with a compressed visual scale.

Key formulas

QuantityFormulaNote or example
Luminosity (Stefan–Boltzmann)L / L☉ = (R / R☉)² × (T / 5772 K)⁴Radius and temperature relative to the Sun
Wien’s displacement lawλ_peak = 2,897,772 nm·K ÷ THotter stars peak at shorter wavelengths

Worked examples

Each row uses one of this lab’s presets and the same model as the interactive tool.

ExampleLuminosityPeak wavelengthApparent color
Sun-like1 Sun502 nmYellow-white
Cool dwarf0.00292 Suns966 nmOrange-red
Hot star1,140 Suns193 nmBlue-white
Sirius A25.72 Suns292 nmWhite
Red giant216.32 Suns828 nmOrange-red
Keep wondering

Star color & luminosity: common questions

Are blue stars hotter than red stars?

Yes. A hotter blackbody emits relatively more short-wavelength light, shifting its appearance toward blue-white.

Does a brighter-looking star emit more light?

Not necessarily. Apparent brightness also depends on distance and any intervening dust.

What color is the Sun?

The Sun emits most strongly near 500 nm, but its light mixes all visible colors and looks white from space. It appears yellow or orange near the horizon because the atmosphere scatters blue light out of the beam.

Your next discovery