Skip to content

Contrast Testing

Text on White Background

CombinationContrastLevelRecommendation
Gray 900 on White18.4:1AAAHeadings
Gray 600 on White7.1:1AAABody text
Gray 500 on White4.7:1AASecondary text
Orange 700 on White4.6:1AAAccent text, links
Orange 800 on White6.4:1AA+Strong accent text

Text on Orange Background

CombinationContrastLevel
White on Orange 5003.1:1Large text only
White on Orange 6003.6:1Large text only
White on Orange 7004.6:1AA

Text on Dark Background

CombinationContrastLevel
White on Gray 90018.4:1AAA
Gray 100 on Gray 90016.2:1AAA
Orange 400 on Gray 9006.2:1AA+

Right vs. Wrong

  • Text in Orange 700 (#C2570A) on a white background
  • Text in Gray 600 (#52525B) as the default text color
  • Orange 500 as a button background with white text (≥24px)
  • Orange 500 as a decorative accent (lines, icons ≥24px)

Wrong

  • ❌ Text in Orange 500 (#FF8500) on a white background
  • ❌ Orange 500 on Orange 50 for small text
  • ❌ Gray 400 as body text color
  • ❌ White on Orange 500 for text below 18px bold

Exception: logo and lockup

The division name in the division lockup carries Orange 600 #EA6D00 and lands at 2.69–3.14:1 on light backgrounds. WCAG 2.1 SC 1.4.3 explicitly exempts logotypes from the contrast requirement: "Text that is part of a logo or brand name has no contrast requirement."

The exception covers the mark and the lockup only. For body text, interface elements and links the tables above apply unchanged — Orange 700 remains the lightest approved text step there.

Contrast Testing Tools

Documentation licensed under CC BY-NC 4.0 · Code licensed under MIT