TurantToolsdev</> All tools

Six Popular UI Colours That Fail Contrast as Text

Blue, green, amber, red, violet and sky on white: their ratios, which pass AA, and the nearest shade that does.

By the TurantTools Dev team · Updated October 27, 2026 · 3 min read

Bright brand colours look great as buttons and logos, but many of them fail as text on a white background. WCAG AA needs 4.5:1 for normal text and 3:1 for large text (24px, or 18.66px bold).

Six popular UI colours as text on white

ColourRatioAA normal textAA large textClosest that passes 4.5:1
#2563eb5.16PassPass#2563eb
#16a34a3.29FailPass#12883e
#f59e0b2.14FailFail#a56a07
#ef44443.76FailPass#eb1515
#8b5cf64.23FailPass#8655f6
#0ea5e92.77FailFail#0b7eb2

Keep the brand, fix the text

  • Use the bright colour for fills, icons and big headings, and a darker shade of it for body links and small text.
  • On a coloured button, check the label against the button colour, not the page: white on amber usually fails.
  • Put both shades in your design tokens (for example --brand and --brand-text) so nobody picks the wrong one.
Colour Contrast CheckerCheck and fix any colour pair.

Sources we checked

More articles