The relative spectral power distribution of a CIE D-Illuminant is computed from its chromaticity coordinates. (The chromaticity coordinates may be computed from the correlated color temperature as described here.)
![]()
where:

The Sn(λ) distributions are provided as a spreadsheet in ZIP or SIT format.
You can use the CIE Spectral Display Calculator to see plots of the D-Illuminant curve at any temperature.
Implementation Notes: