Colour Contrast

Users in general, and particularly those with low vision, have trouble reading text if the contrast against the background is insufficient.

Problem

  • Users in general, and particularly those with low vision, have trouble reading text if the contrast against the background is insufficient.

Examples

Good Contrast
All the things one has forgotten scream for help in dreams - Elias Canetti
All the things one has forgotten scream for help in dreams - Elias Canetti
Poor Contrast
All the things one has forgotten scream for help in dreams - Elias Canetti
All the things one has forgotten scream for help in dreams - Elias Canetti

WCAG Success Criteria

WCAG Sufficient Techniques

Testing Method

  • Install the WCAG Color Checker toolbar for Firefox
  • Open Firefox
  • Click on Tools > ColorChecker
  • The Color Checker panel will open
  • Click on 'Document' and then 'Test (WCAG 2)'
  • Is the Luminosity Ratio above 4.5 for all text elements? (Tip: You can click on each ratio to see what text it refers to)
  • Tip: For additional testing try Contrast Analyzer

Exercise

Tip

  • It is much easier to achieve sufficient contrast by using dark text on a light background.

Need web help?

All websites and applications which form part of the University web presence are expected to be compliant with the W3C's Web Accessibility Guidelines (WCAG) 2.2 AA guidelines.

Get web accessibility help