Module 3 of 6
Colour and Contrast
If learners cannot tell your text from its background, nothing else in the module matters.
Contrast Ratio
Contrast ratio compares the brightness of text with its background. It runs from 1:1, which is no contrast, to 21:1, which is black on white. WCAG Level AA asks for:
- At least 4.5:1 for regular text
- At least 3:1 for large text, which means 18 point or larger, or 14 point bold or larger
This Site's Colours, Tested
| Colour on the page background | Ratio | Regular text | Large text |
|---|---|---|---|
| Body text | 14.2:1 | Pass | Pass |
| Muted text | 6.4:1 | Pass | Pass |
| Green accent | 7.1:1 | Pass | Pass |
| Gold ornament | 3.0:1 | Fail | Pass |
The gold fails for regular text, so this site uses it only for decoration and large numerals.
Do Not Rely on Colour Alone
Some learners cannot tell certain colours apart. When colour carries meaning, add a second signal:
- Label quiz results with the words Correct or Not quite, as well as green or red
- Mark required fields with the word required
- Label the lines on a chart directly, as well as colouring them