WCAG contrast ratio 4.5:1: where the number comes from and what implementations miss
The origin of the 4.5:1 contrast ratio in WCAG, the relative-luminance formula behind it, AA vs AAA levels, and the thresholds for different text sizes.
· 4 min read