A comprehensive guide to CIE standard illuminants - the internationally standardized light sources used as references for colorimetry, color measurement, and color reproduction, essential for consistent color communication and accurate color management across different devices and applications.
Standard illuminants are theoretical light sources defined by the International Commission on Illumination (CIE) to provide consistent references for color measurement and specification. These standardized spectral power distributions ensure that color measurements are reproducible and comparable across different laboratories, devices, and applications worldwide.
Standard illuminants solve the fundamental problem that color appearance depends on the lighting conditions. By defining standard light sources, the CIE enables consistent color communication and measurement regardless of the actual lighting used during observation or measurement.
// Comprehensive standard illuminant implementation
class StandardIlluminants {
constructor() {
// CIE Standard Illuminants with XYZ tristimulus values (Y=100)
this.illuminants = {
'A': {
name: 'Illuminant A',
description: 'Tungsten incandescent lamp',
cct: 2856,
X: 109.850,
Y: 100.000,
Z: 35.585,
chromaticity: { x: 0.44757, y: 0.40745 },
application: 'Incandescent lighting simulation',
spectralType: 'Planckian radiator'
},
'B': {
name: 'Illuminant B',
description: 'Direct sunlight at noon (obsolete)',
cct: 4874,
X: 99.072,
Y: 100.000,
Z: 85.223,
chromaticity: { x: 0.34842, y: 0.35161 },
application: 'Historical daylight reference',
spectralType: 'Filtered tungsten'
},
'C': {
name: 'Illuminant C',
description: 'Average daylight (obsolete)',
cct: 6774,
X: 98.074,
Y: 100.000,
Z: 118.232,
chromaticity: { x: 0.31006, y: 0.31616 },
application: 'Historical daylight reference',
spectralType: 'Filtered tungsten'
},
'D50': {
name: 'Illuminant D50',
description: 'Daylight at 5003K',
cct: 5003,
X: 96.422,
Y: 100.000,
Z: 82.521,
chromaticity: { x: 0.34567, y: 0.35850 },
application: 'Graphic arts, photography',
spectralType: 'Daylight'
},
'D55': {
name: 'Illuminant D55',
description: 'Daylight at 5503K',
cct: 5503,
X: 95.682,
Y: 100.000,
Z: 92.149,
chromaticity: { x: 0.33242, y: 0.34743 },
application: 'Photography, some displays',
spectralType: 'Daylight'
},
'D65': {
name: 'Illuminant D65',
description: 'Average daylight at 6504K',
cct: 6504,
X: 95.047,
Y: 100.000,
Z: 108.883,
chromaticity: { x: 0.31271, y: 0.32902 },
application: 'sRGB, Rec.709, most displays',
spectralType: 'Daylight'
},
'D75': {
name: 'Illuminant D75',
description: 'Daylight at 7504K',
cct: 7504,
X: 94.972,
Y: 100.000,
Z: 122.638,
chromaticity: { x: 0.29902, y: 0.31485 },
application: 'High color temperature applications',
spectralType: 'Daylight'
},
'E': {
name: 'Illuminant E',
description: 'Equal energy illuminant',
cct: 5454,
X: 100.000,
Y: 100.000,
Z: 100.000,
chromaticity: { x: 0.33333, y: 0.33333 },
application: 'Theoretical reference, calculations',
spectralType: 'Equal energy'
},
'F1': {
name: 'Illuminant F1',
description: 'Daylight fluorescent',
cct: 6430,
X: 92.834,
Y: 100.000,
Z: 103.665,
chromaticity: { x: 0.31310, y: 0.33727 },
application: 'Fluorescent lighting',
spectralType: 'Fluorescent'
},
'F2': {
name: 'Illuminant F2',
description: 'Cool white fluorescent',
cct: 4230,
X: 99.187,
Y: 100.000,
Z: 67.395,
chromaticity: { x: 0.37208, y: 0.37529 },
application: 'Office lighting simulation',
spectralType: 'Fluorescent'
},
'F7': {
name: 'Illuminant F7',
description: 'Broad-band daylight fluorescent',
cct: 6500,
X: 95.044,
Y: 100.000,
Z: 108.755,
chromaticity: { x: 0.31292, y: 0.32933 },
application: 'D65 simulator fluorescent',
spectralType: 'Fluorescent'
},
'F11': {
name: 'Illuminant F11',
description: 'Narrow tri-band fluorescent',
cct: 4000,
X: 100.966,
Y: 100.000,
Z: 64.370,
chromaticity: { x: 0.38052, y: 0.37713 },
application: 'Tri-phosphor fluorescent',
spectralType: 'Fluorescent'
}
};
// Daylight locus coefficients for D illuminants
this.daylightLocus = {
// Chromaticity coordinates as function of reciprocal color temperature
xCoefficients: [-4.6070e9, 2.9678e6, 0.09911e3, 0.244063],
yCoefficients: [-2.0064, 1.9018, 0.24748]
};
}
// Get illuminant information
getIlluminant(illuminantName) {
const illuminant = this.illuminants[illuminantName.toUpperCase()];
if (!illuminant) {
throw new Error(`Unknown illuminant: ${illuminantName}`);
}
return {
...illuminant,
whitePoint: { X: illuminant.X, Y: illuminant.Y, Z: illuminant.Z },
temperature: illuminant.cct,
category: this.categorizeIlluminant(illuminantName)
};
}
// Calculate D illuminant for specific color temperature
calculateDIlluminant(cct) {
if (cct < 4000 || cct > 25000) {
throw new Error('Color temperature must be between 4000K and 25000K for D illuminants');
}
// Calculate chromaticity coordinates
const T = cct;
let xD, yD;
if (T >= 4000 && T <= 7000) {
xD = -4.6070e9 / (T * T * T) + 2.9678e6 / (T * T) + 0.09911e3 / T + 0.244063;
} else if (T > 7000 && T <= 25000) {
xD = -2.0064e9 / (T * T * T) + 1.9018e6 / (T * T) + 0.24748e3 / T + 0.237040;
}
yD = -3.000 * xD * xD + 2.870 * xD - 0.275;
// Calculate XYZ coordinates (Y = 100)
const Y = 100;
const X = (xD / yD) * Y;
const Z = ((1 - xD - yD) / yD) * Y;
return {
name: `D${Math.round(cct/100)}`,
description: `Daylight at ${cct}K`,
cct: cct,
X: X,
Y: Y,
Z: Z,
chromaticity: { x: xD, y: yD },
spectralType: 'Daylight',
calculated: true
};
}
// Calculate Planckian radiator (blackbody) illuminant
calculatePlanckianIlluminant(cct) {
if (cct < 1000 || cct > 10000) {
console.warn('Color temperature outside typical range for Planckian radiators');
}
// Calculate chromaticity using Planck's law approximation
const T = cct;
const c2 = 1.4388e-2; // Second radiation constant (m·K)
// Simplified calculation for demonstration
// In practice, would integrate Planck's law over visible spectrum
const x = 0.244063 + (0.09911e3 / T) + (2.9678e6 / (T * T)) - (4.6070e9 / (T * T * T));
const y = -3.000 * x * x + 2.870 * x - 0.275;
// Calculate XYZ coordinates
const Y = 100;
const X = (x / y) * Y;
const Z = ((1 - x - y) / y) * Y;
return {
name: `Planckian ${cct}K`,
description: `Blackbody radiator at ${cct}K`,
cct: cct,
X: X,
Y: Y,
Z: Z,
chromaticity: { x: x, y: y },
spectralType: 'Planckian',
calculated: true
};
}
// Find closest standard illuminant to given chromaticity
findClosestIlluminant(targetX, targetY) {
let closestIlluminant = null;
let minDistance = Infinity;
Object.entries(this.illuminants).forEach(([name, illuminant]) => {
const distance = Math.sqrt(
Math.pow(illuminant.chromaticity.x - targetX, 2) +
Math.pow(illuminant.chromaticity.y - targetY, 2)
);
if (distance < minDistance) {
minDistance = distance;
closestIlluminant = { name, ...illuminant, distance };
}
});
return closestIlluminant;
}
// Calculate correlated color temperature from chromaticity
calculateCCT(x, y) {
// McCamy's approximation
const n = (x - 0.3320) / (0.1858 - y);
const cct = 449 * Math.pow(n, 3) + 3525 * Math.pow(n, 2) + 6823.3 * n + 5520.33;
return {
cct: Math.max(1000, Math.min(25000, Math.round(cct))),
method: 'McCamy approximation',
accuracy: '±50K for 3000K-10000K range'
};
}
// Compare illuminants
compareIlluminants(illuminant1, illuminant2) {
const illum1 = this.getIlluminant(illuminant1);
const illum2 = this.getIlluminant(illuminant2);
// Calculate chromaticity difference
const chromDiff = Math.sqrt(
Math.pow(illum1.chromaticity.x - illum2.chromaticity.x, 2) +
Math.pow(illum1.chromaticity.y - illum2.chromaticity.y, 2)
);
// Calculate color temperature difference
const tempDiff = Math.abs(illum1.cct - illum2.cct);
// Calculate XYZ differences
const xyzDiff = {
X: Math.abs(illum1.X - illum2.X),
Y: Math.abs(illum1.Y - illum2.Y),
Z: Math.abs(illum1.Z - illum2.Z)
};
return {
illuminant1: illum1.name,
illuminant2: illum2.name,
chromaticityDifference: chromDiff,
temperatureDifference: tempDiff,
xyzDifferences: xyzDiff,
similarity: chromDiff < 0.01 ? 'Very similar' :
chromDiff < 0.02 ? 'Similar' :
chromDiff < 0.05 ? 'Moderately different' :
'Very different'
};
}
// Get illuminants by category
getIlluminantsByCategory(category) {
const filtered = {};
Object.entries(this.illuminants).forEach(([name, illuminant]) => {
const illumCategory = this.categorizeIlluminant(name);
if (illumCategory.toLowerCase().includes(category.toLowerCase())) {
filtered[name] = illuminant;
}
});
return filtered;
}
// Categorize illuminant type
categorizeIlluminant(illuminantName) {
const name = illuminantName.toUpperCase();
if (name === 'A') return 'Tungsten';
if (name === 'B' || name === 'C') return 'Historical Daylight';
if (name.startsWith('D')) return 'Daylight';
if (name === 'E') return 'Equal Energy';
if (name.startsWith('F')) return 'Fluorescent';
return 'Other';
}
// Calculate metamerism index between illuminants
calculateMetamerismIndex(illuminant1, illuminant2, observer = '2deg') {
const illum1 = this.getIlluminant(illuminant1);
const illum2 = this.getIlluminant(illuminant2);
// Simplified metamerism calculation
// In practice, would require spectral reflectance data
const chromDiff = Math.sqrt(
Math.pow(illum1.chromaticity.x - illum2.chromaticity.x, 2) +
Math.pow(illum1.chromaticity.y - illum2.chromaticity.y, 2)
);
const metamerismIndex = chromDiff * 1000; // Scale for practical use
return {
index: metamerismIndex,
rating: metamerismIndex < 1 ? 'Excellent' :
metamerismIndex < 3 ? 'Good' :
metamerismIndex < 6 ? 'Fair' :
metamerismIndex < 12 ? 'Poor' : 'Unacceptable',
description: 'Lower values indicate better color matching between illuminants'
};
}
// Generate illuminant report
generateIlluminantReport(illuminantName) {
const illuminant = this.getIlluminant(illuminantName);
return {
basicInfo: {
name: illuminant.name,
description: illuminant.description,
category: this.categorizeIlluminant(illuminantName),
spectralType: illuminant.spectralType
},
colorimetricData: {
cct: illuminant.cct,
chromaticity: illuminant.chromaticity,
tristimulus: { X: illuminant.X, Y: illuminant.Y, Z: illuminant.Z }
},
applications: {
primaryUse: illuminant.application,
industries: this.getIndustryApplications(illuminantName),
standards: this.getRelatedStandards(illuminantName)
},
comparisons: {
closestDaylight: this.findClosestDaylight(illuminant),
temperatureRange: this.getTemperatureCategory(illuminant.cct)
}
};
}
// Get industry applications for illuminant
getIndustryApplications(illuminantName) {
const applications = {
'A': ['Photography (tungsten)', 'Incandescent lighting', 'Color temperature reference'],
'D50': ['Graphic arts', 'Print industry', 'Photography'],
'D65': ['Display technology', 'sRGB standard', 'Television', 'Computer monitors'],
'F2': ['Office lighting', 'Commercial spaces', 'Fluorescent simulation'],
'F7': ['D65 simulator', 'Lighting design', 'Color matching'],
'E': ['Theoretical calculations', 'Color science research', 'Reference standard']
};
return applications[illuminantName.toUpperCase()] || ['General color measurement'];
}
// Get related standards
getRelatedStandards(illuminantName) {
const standards = {
'A': ['ISO 3664', 'CIE 15'],
'D50': ['ISO 3664', 'ISO 13655', 'CIE 15'],
'D65': ['IEC 61966-2-1 (sRGB)', 'ITU-R BT.709', 'CIE 15'],
'F2': ['CIE 13.3', 'ISO 23603'],
'E': ['CIE 15', 'ISO 11664']
};
return standards[illuminantName.toUpperCase()] || ['CIE 15'];
}
// Find closest daylight illuminant
findClosestDaylight(illuminant) {
const daylightIlluminants = ['D50', 'D55', 'D65', 'D75'];
let closest = null;
let minTempDiff = Infinity;
daylightIlluminants.forEach(daylight => {
const dIllum = this.illuminants[daylight];
const tempDiff = Math.abs(illuminant.cct - dIllum.cct);
if (tempDiff < minTempDiff) {
minTempDiff = tempDiff;
closest = { name: daylight, ...dIllum, temperatureDifference: tempDiff };
}
});
return closest;
}
// Categorize color temperature
getTemperatureCategory(cct) {
if (cct < 3000) return 'Warm (< 3000K)';
if (cct < 4000) return 'Neutral warm (3000-4000K)';
if (cct < 5000) return 'Neutral (4000-5000K)';
if (cct < 6500) return 'Cool (5000-6500K)';
return 'Very cool (> 6500K)';
}
// List all available illuminants
listAllIlluminants() {
return Object.entries(this.illuminants).map(([name, illuminant]) => ({
name: name,
fullName: illuminant.name,
description: illuminant.description,
cct: illuminant.cct,
category: this.categorizeIlluminant(name),
application: illuminant.application
})).sort((a, b) => a.cct - b.cct);
}
}Represents a tungsten incandescent lamp at 2856K. Widely used for testing incandescent lighting and as a reference for warm light sources. Its spectral distribution closely matches a Planckian radiator.
The most commonly used daylight illuminant, representing average daylight at 6504K. It serves as the white point for sRGB, Rec.709, and most computer displays, making it crucial for digital imaging applications.
Represents daylight at 5003K and is the standard illuminant for the graphic arts industry. Used extensively in print production, photography, and color proofing applications.
The equal energy illuminant provides equal power at all wavelengths. While not representing any real light source, it's valuable for theoretical calculations and as a neutral reference point.
Represents typical office fluorescent lighting at 4230K. Important for evaluating colors under common commercial lighting conditions.
Designed to simulate D65 daylight using fluorescent technology. Useful for applications requiring daylight simulation with fluorescent sources.
Represents modern tri-phosphor fluorescent lamps with narrow spectral bands. Important for evaluating metamerism in fluorescent lighting.
Standard illuminants define the reference white point for ICC profile connection spaces, ensuring consistent color transformations between different devices and color spaces.
When colors need to be viewed under different illuminants, chromatic adaptation transforms use standard illuminants as reference points for accurate color appearance prediction.
Color measurement devices are calibrated using standard illuminants to ensure traceable and reproducible color measurements across different instruments and laboratories.
Each standard illuminant is defined by its complete spectral power distribution across the visible spectrum, typically specified at 1nm or 5nm intervals from 380nm to 780nm.
Standard illuminants are characterized by their CIE XYZ tristimulus values and chromaticity coordinates, providing the foundation for all colorimetric calculations.
Most illuminants are specified by their correlated color temperature (CCT), indicating their position relative to the Planckian locus on the chromaticity diagram.
Explore these comprehensive pillar articles related to Standard Illuminant
A comprehensive guide to color theory, its fundamental principles, and practical applications in digital design and web development.
A comprehensive guide to tetradic color schemes - sophisticated four-color harmonies that use two complementary pairs arranged in rectangular or square formations on the color wheel, providing maximum color variety while maintaining structured relationships essential for dynamic design compositions, brand systems, and advanced color theory applications.
A comprehensive guide to split-complementary color schemes - sophisticated three-color harmonies that combine a base color with two colors adjacent to its complement, creating balanced visual contrast with reduced tension compared to direct complementary pairs, essential for refined design compositions, brand identity systems, and advanced color theory applications.
Comprehensive guide to complementary colors - opposing hues on the color wheel that create maximum visual contrast, dynamic tension, and powerful design impact through scientific color relationships and perceptual phenomena.
Discover more about Standard Illuminant and related color theory concepts
A comprehensive guide to color theory, its fundamental principles, and practical applications in digital design and web development.
A comprehensive guide to split-complementary color schemes - sophisticated three-color harmonies that combine a base color with two colors adjacent to its complement, creating balanced visual contrast with reduced tension compared to direct complementary pairs, essential for refined design compositions, brand identity systems, and advanced color theory applications.
A comprehensive guide to tetradic color schemes - sophisticated four-color harmonies that use two complementary pairs arranged in rectangular or square formations on the color wheel, providing maximum color variety while maintaining structured relationships essential for dynamic design compositions, brand systems, and advanced color theory applications.
Comprehensive guide to analogous color schemes - adjacent hues on the color wheel that create natural harmony, visual cohesion, and sophisticated design solutions through subtle color relationships and graduated transitions.
Comprehensive guide to complementary colors - opposing hues on the color wheel that create maximum visual contrast, dynamic tension, and powerful design impact through scientific color relationships and perceptual phenomena.
A comprehensive guide to monochromatic color schemes - sophisticated single-hue harmonies that create unified visual experiences through systematic variations in saturation, lightness, and tonal relationships, essential for elegant design compositions, brand consistency, and advanced color theory applications requiring cohesive aesthetic unity.
Discover more color terminology and concepts in our comprehensive glossary.
Browse Full Glossary