Color Temperature Converter -- Kelvin to RGB

Convert color temperature to RGB values instantly

Color Temperature to RGB

Drag the slider or type a Kelvin value to see the corresponding RGB color. Use the preset buttons for common lighting scenarios.

5500 K
Color Temperature
5500 K
1000 K (warm)12000 K (cool)
Lighting Presets
Hex Code
#FF9329
RGB
rgb(255, 147, 41)
CSS Color
rgb(255, 147, 41)
Red
255
100%
Green
147
58%
Blue
41
16%
Full Spectrum (1000K -- 12000K)
1000K 3000K 5500K 8000K 12000K

Common Color Temperatures Reference

This table shows typical color temperatures for common light sources. Use it to set white balance or match lighting in photography and video.

Light Source Kelvin RGB / Hex Preview

How Kelvin to RGB Conversion Works

Color temperature describes the hue of light emitted by an ideal black body radiator heated to a given temperature in Kelvin. As the temperature increases, the emitted light shifts from deep red through orange, yellow, white, and finally into blue.

The algorithm used here is based on Tanner Helland's approximation of the Planckian locus, which maps Kelvin values to sRGB coordinates. It divides the spectrum into two regimes:

  • Below ~6600K: Red is at maximum (255), green increases logarithmically, and blue rises from zero.
  • Above ~6600K: Blue is at maximum (255), red and green decrease based on a power function.

This is an approximation of CIE color science for practical display use. Actual light sources have spectral power distributions that vary from the ideal black body model, so the RGB values are representative rather than physically exact.

Use Cases

Photography and Videography

Understanding color temperature is essential for setting correct white balance. When your camera's white balance matches the scene's color temperature, whites appear neutral. Mismatched settings create color casts -- too warm (orange) or too cool (blue). Many photographers deliberately shift white balance for creative effect.

Lighting Design

Interior designers and architects choose LED and fluorescent bulbs by color temperature. Residential spaces typically use 2700-3000K (warm white) for comfort, while offices and retail spaces use 3500-5000K (neutral to cool white) for alertness and color accuracy.

Display Calibration

Monitor calibration tools use color temperature to set the white point. The sRGB standard uses D65 (6500K) as the reference white point. Photographers editing for print may calibrate to D50 (5000K) to match proofing light booths.

Film and Video Production

Film and video crews balance lighting sources to avoid mixed color temperatures. Tungsten lights (3200K) and daylight (5500K) require CTO (Color Temperature Orange) or CTB (Color Temperature Blue) gels to match. LED panels with adjustable color temperature have largely replaced gel-based workflows.

Frequently Asked Questions

What is color temperature?

Color temperature is a way to describe the color appearance of light, measured in Kelvin (K). It is based on the concept of a black body radiator -- a theoretical object that absorbs all radiation and emits light based solely on its temperature. Lower Kelvin values produce warm (reddish) light, while higher values produce cool (bluish) light.

Why do lower Kelvin values look warmer?

This is counterintuitive: physically hotter objects emit bluer light, but we perceive reddish-orange tones as "warm" and blue tones as "cool" based on psychological association (fire vs. ice). So 2700K is called "warm white" and 6500K is called "cool white" even though the Kelvin number is lower for warm.

What color temperature should I use for home lighting?

Most homes use 2700-3000K (warm white) in living rooms and bedrooms for a cozy feel. Kitchens and bathrooms often use 3500-4000K (neutral white) for better visibility. Home offices benefit from 4000-5000K (cool white) to reduce eye strain and improve focus.

How accurate is the RGB approximation?

The Kelvin-to-RGB algorithm is a widely used approximation that closely matches the perceived color of black body radiation on an sRGB display. It is accurate enough for visualization, white balance reference, and lighting design, but it does not replace spectroradiometric measurement for scientific applications.

What is the difference between CCT and color temperature?

CCT (Correlated Color Temperature) is the Kelvin temperature of the black body radiator that most closely matches a given light source's chromaticity. Real light sources (LEDs, fluorescents) are not perfect black bodies, so CCT is an approximation of their apparent color. For practical purposes, CCT and color temperature are used interchangeably.

Does this tool store my data?

No. All calculations run entirely in your browser. No data is sent to any server, and nothing is stored.

Privacy & Limitations

Privacy: This converter runs entirely in your browser. No data is transmitted or stored.

Limitations: The RGB values are an approximation based on the Planckian locus algorithm for sRGB displays. Actual light source spectra vary from ideal black body radiation. Color perception also depends on your display calibration and ambient lighting. For critical color work, use a calibrated monitor and spectroradiometer.

Related Tools

Related Tools

View all tools

Color Temperature Converter FAQ

What is color temperature?

Color temperature measures the hue of a light source in Kelvin (K). Lower values (1000-3000K) produce warm, orange-red tones like candlelight. Higher values (5000-12000K) produce cool, blue-white tones like overcast sky. It is based on the color a theoretical black body radiator emits when heated to that temperature.

How do I convert Kelvin to RGB?

Kelvin to RGB conversion uses an algorithm that approximates the spectral output of a black body radiator. For temperatures below 6600K, the red channel is 255 and green/blue increase. Above 6600K, red and green decrease while blue stays at 255. This tool performs the conversion instantly.

What color temperature is daylight?

Direct daylight at noon is approximately 5500K, which produces a neutral white light. This is the standard reference for daylight-balanced film and digital camera white balance settings.

What is the difference between warm and cool light?

Warm light (2700-3000K) has yellow-orange tones and creates a cozy atmosphere. Cool light (5000K+) has blue-white tones and feels more energizing. The terminology is counterintuitive because 'warm' colors have lower Kelvin values while 'cool' colors have higher values.

Does this tool store my data?

No. All calculations run entirely in your browser. No data is sent to any server, and nothing is stored.

Request a New Tool
Improve This Tool