Color· 8 of 11

8 of 11

Accessible contrast ratios

For WCAG AA, ordinary text needs at least 4.5:1 contrast. Large text qualifies at 3:1. Measure unrounded values against the actual background, including overlays and images behind the text.

Do
Don’t

Do#737373 on #ffffff (4.7:1)

Don’t#aaaaaa on #ffffff (2.3:1)

Before you ship

  • What measured pair supports the verdict?
  • If large-text thresholds are used, what size and weight qualify it?
  • Does it pass at the least contrasting background behind the letters?

Next

Give state colors a shared sourceColor · 9 of 11J