๐จ Make text readable for everyone
Design & MediaLow-contrast text is hard to read in sunlight and for people with weak eyesight. WCAG asks for a contrast ratio of 4.5:1 for normal text (3:1 for large). Adjust the brand colour and see if it passes.
โญ Level 1: Trainee0 XP ยท next level at 300
Contrast ratioโ 1.64 : 1 (need 4.5)
WCAG AAโ Fail
WCAG AAA (stricter)โ Fail
Too little contrast: make the text darker or the background lighter (or the reverse for dark mode).
๐ How it works
Contrast is the difference in brightness (relative luminance) between text and background. Many brand colours fail on white. Designers keep the hue and adjust lightness until it passes.
Ratio = (L_light + 0.05) รท (L_dark + 0.05) ยท AA: 4.5 (normal), 3 (large โฅ 24 px) ยท AAA: 7 / 4.5A simplified textbook model for learning. Real designs follow the full codes and standards.