Oven & Oak

A simple example of text on a background. Use the controls to try different colours and check the contrast.

Learn more

Contrast ratio

5.52 : 1
  • Normal text AAPass
  • Large text AAPass
  • Normal text AAAFail
  • Large text AAAPass

Suggested fix

Darker background for AAA

#0E4AD8 · 7.02 : 1

What the WCAG levels mean

LevelText typeMinimum contrast ratio
AANormal text4.5 : 1
AALarge text3 : 1
AAANormal text7 : 1
AAALarge text4.5 : 1

Large text means text that is at least 24 px, or 18.7 px bold.

Get a brand palette that passes

Your Ficonica brand kit pairs your logo’s colours with text and background colours checked for contrast.

FAQ

WCAG asks for at least 4.5:1 between normal text and its background (level AA) and 3:1 for large text. For the stricter level AAA it is 7:1 for normal text and 4.5:1 for large text. Black on white is the maximum, 21:1.

In WCAG, large text is at least 18 point, which is 24 px, or at least 14 point bold, about 18.7 px bold. Headings are often large text; body copy usually is not.

Each colour’s relative luminance is worked out from its red, green and blue values (converted from sRGB to linear light and weighted 0.2126, 0.7152 and 0.0722). The ratio is the lighter luminance plus 0.05 divided by the darker luminance plus 0.05, from 1:1 to 21:1. The checker shows it to two decimals and never rounds a failing ratio up to a pass.

Yes. It is free, needs no account and runs in your browser. Type or pick two colours, see the result at once and use the suggested fix if a level fails.