Advancement · School Operations · Text and background, in numbers
Type the red, green and blue values, each from 0 to 255, for the text and for the background. The page works out the contrast ratio the way the Web Content Accessibility Guidelines define it and shows what passes at AA and AAA, and how much darker the text would need to be to pass.
Cancel anytime. How plans and refunds work
Included with Caveat Plus ($9.99 a month or $99.90 a year), Caveat Family (up to 5 people, $14.99 a month) and Caveat Teams (25 people, $199 a month). Anything you bought before stays yours.
The worked example is gray text with red, green and blue values of 138 on a white background. Nothing you type leaves this browser.
Loading the calculator. If nothing appears, turn on JavaScript.
Use the values from your design file or a color picker. The example is made up.
Advancement · School OperationsIncluded with Caveat Plus
From color to luminance to a ratio.
The Web Content Accessibility Guidelines 2.2 set a minimum contrast of 4.5 to 1 for normal text at level AA, and 3 to 1 for large text, defined as 18 point or 14 point bold. Level AAA raises these to 7 to 1 and 4.5 to 1. User interface components and meaningful graphics need 3 to 1 against adjacent colors.
Each color is converted to a relative luminance, a weighted sum of its linearized red, green and blue values that matches how bright the eye finds the color. The ratio adds 0.05 to both luminances so that black on black does not divide by zero.
A calculation of the ratio the guidelines define, not a full accessibility check. The worked example is made up. Your entries stay in this browser. Support: team@caveatacademic.com.