โ† Design Systems learning path
Design Systems ยท Module 3 of 10

Colour and accessibility

Colours must look good and be readable by everyone.

๐Ÿ“– Key ideas

  1. WCAG asks for at least 4.5:1 contrast for normal text and 3:1 for large text.
  2. Never use colour alone to show meaning; add icons or text.
  3. Define colour roles: primary, neutral, success, warning, danger.
  4. Check palettes with colour-blindness simulators.
  5. Focus states must be visible for keyboard users.
๐Ÿ’ก Real-life example: Like road signs: a stop sign is red, but it also says STOP and has its own shape, so everyone understands it.
Contrast ratioLightness difference between text and background
WCAGWeb accessibility guidelines
Focus stateVisible outline for the active element
Colour roleMeaning like success or danger