Understanding WCAG Contrast & Luminance Mathematics
1. Human Eye Luminance Weighting
The human retina does not perceive red, green, and blue light equally. Cones in the human eye are dramatically more sensitive to green wavelengths than blue.
Because green represents 71.5% of perceived brightness, yellow and green text requires much darker backgrounds to pass contrast tests than pure blue text.
2. Level AA vs Level AAA
WCAG Level AA is the legally mandated benchmark for ADA, Section 508, and European EN 301 549 compliance. It requires 4.5:1 for body copy.
WCAG Level AAA (7.0:1) is an enhanced standard designed for readers with severe low vision (visual acuity between 20/40 and 20/200) without relying on assistive screen magnifiers.