Kelvin to RGB
Convert color temperature in Kelvin to approximate sRGB and HEX for lighting and white balance.
Convert color temperature to RGB and HEX
Map a correlated color temperature in Kelvin (K) to an approximate sRGB color. Photographers and lighting designers use Kelvin to describe warm candlelight (~1850 K), tungsten bulbs (~2700 K), and daylight (~5500â6500 K). This tool applies a blackbody-style approximation so you can preview a swatch and copy #RRGGBB values for CSS, UI themes, or white-balance references.
Valid input range is 1000 Kâ40000 K. Values outside that range are rejected because the approximation is tuned for practical lighting and display work, not extreme laboratory blackbody curves.
Related: Color Converter, Temperature Converter.
Frequently Asked Questions
Is this the same as a physical spectrum measurement?
No. Real light sources have complex spectra. The RGB shown here is a widely used mathematical approximation for quick previews, not a spectrometer reading.
Why does 6500 K look neutral white?
D65 daylight is often quoted around 6500 K. The algorithm maps that temperature to a balanced RGB triplet close to neutral white on sRGB displays.
Does the tool send my values to a server?
No. Conversion runs entirely in your browser.