How the eye measures contrast, fails to see some colors, and reads warmth.
Contrast ratio compares how bright two colors appear to the eye. The eye does not weight red, green and blue equally — green contributes most, blue least — so relative luminance applies those weights before comparing.
WCAG sets pass thresholds: 4.5:1 for normal text (AA), 3:1 for large text, and 7:1 (AAA) on normal text. The same checks apply to icons and graphical elements, not only text.
Common deficiencies come from missing cones in the retina. Protanopia lacks red cones, deuteranopia lacks green cones, and tritanopia lacks blue cones. Pairs that look different to a typical viewer can collapse for someone affected.
The practical rule: never rely on hue alone to convey meaning — pair it with position, shape or text.
Physical light temperature is measured in Kelvin: candlelight (~2000K) is warm and orange, daylight (~6500K) is white, shade and sky (~10000K) are cool and blue.
In color theory the same words describe hue position: reds, oranges and yellows feel warm; greens, blues and violets feel cool. Low-saturation colors read as neutral.