Calculate color temperature conversions, CIE xy CCT, and Kelvin to RGB/hex values for lighting filters and color correction with presets.
Color Temperature Formula
The following formula (Wien’s displacement law) is used to estimate the temperature of a blackbody from its peak wavelength (λmax).
T (K) = (2.897771955 × 10^6 nm·K) / λ_max (nm).
Variables:
- T is the (blackbody) color temperature in Kelvin (K)
- λmax is the peak wavelength in nanometers (nm)
To calculate the color temperature from a peak wavelength in nanometers, divide 2,897,771.955 by λmax (nm). This is a blackbody approximation; for real light sources, “color temperature” often refers to correlated color temperature (CCT), which generally cannot be determined from a single wavelength alone.
What is Color Temperature?
Color temperature (often reported as correlated color temperature, or CCT) is a characteristic of visible light that describes the hue of a light source. It is measured in Kelvin (K) and is used to describe the warmth or coolness of a light source. Lower color temperatures (around 2000-3000K) produce a warm, yellowish light, while higher color temperatures (above 5000K) produce a cool, bluish light. Color temperature is an important factor in photography, videography, and lighting design, as it affects the mood and appearance of a scene.
How to Calculate Color Temperature?
The following steps outline how to calculate the Color Temperature.
- First, determine the peak wavelength of the light (λmax).
- Next, use the formula T = (2.897771955 × 10^6) / λmax (with λmax in nm) to calculate the color temperature in Kelvin.
- Finally, check your answer with the calculator above.
Example Problem :
Use the following variables as an example problem to test your knowledge.
Peak Wavelength (λmax) = 500 nm
Calculate the color temperature using the formula T = (2.897771955 × 10^6) / λmax.