Color and contrast
Seventeen text and background color pairs with their contrast ratios worked out from the web accessibility formula. See which pass which level, compare three side by side and note the pair that suits a reader.
17 color pairs. The worked example loads a search, a saved list and a comparison. Saved on this device only.
Loading Low Vision Color Preference Explorer. If nothing appears, turn on JavaScript.
Teaching · Special EducationOpen to everyone · no sign-in
There is no single best pair. In a study of 19 low vision readers, five read white text on black faster than black on white, and four of those five had cloudy eye media, probably because light scatters in the eye. In people with normal vision, polarity made no difference. Let the reader choose and try several.
Each color is converted to its relative luminance, and the ratio is (lighter + 0.05) divided by (darker + 0.05). The standard asks for 4.5 to 1 for ordinary text, 3 to 1 for large text and 7 to 1 for the highest level. The figures here were computed and checked in code.
The entries are written for this page from the sources listed. Nothing you type is sent to Caveat. Support: team@caveatacademic.com.