Colors & CSS
Compare a foreground and a background with the WCAG 2 contrast ratio. The check stays in your browser.
The quick brown fox jumps over the lazy dog.
13.9817:1
Contrast ratio
Large text means 18pt or larger, or 14pt bold.
Did you know? Black on white is 21:1. That is the maximum the formula can report, because the 0.05 terms keep the ratio finite when one luminance is zero.