Skip to main content

Avoid using color as the only signal

General · All · Last updated

Part of training module 3: The ideas that apply everywhere: structure, text alternatives, colour

Color alone must never be the only way to tell things apart, because some readers cannot see the difference and others use screens or prints without color.

Steps

  1. Scan your document for places where color carries meaning. Common cases are red and green status marks, colored chart lines, highlighted text and links.
  2. For each one, ask what a reader would lose if the page were in grayscale.
  3. Add a second signal that does not depend on color. Options are a text label, a symbol, a pattern, an underline, bold text or a different shape.
  4. In charts, label the lines or bars directly, or use different line styles and marker shapes. Do not rely on a legend of colors alone.
  5. In text, do not write instructions such as "see the red items". Name the items or mark them with a word, such as "Overdue".
  6. Keep links underlined inside body text, or give them another clear marker, so they stand out without color.
  7. Check that each color you keep also passes contrast: see Check color contrast against WCAG AA (4.5:1 and 3:1).

Check it worked

  • Print the page in black and white, or switch your screen to grayscale. You can still read every meaning.
  • Ask a colleague to describe what each marker means without naming a color.
  • Each chart series can be told apart by label, shape or pattern.

Common mistakes

  • Using red for "bad" and green for "good" with no words. These two are the pair people most often confuse.
  • Highlighting a key sentence in yellow and nothing else. Highlight is only a color, so a reader who cannot see it gets no cue. Add a word or a heading.
  • Relying on a color legend that sits far away from the chart.

The same task in other applications

More for General