Best Color Contrast Checkers for Accessibility Testing

How To Know If Your Text Has Acceptable Contrast Ratios for Accessibility?

Whether you are designing, developing, testing or auditing, a contrast ratio checker is the best way to ensure your site or app passes accessibility criteria. As a designer you can use a simple value checker to plug in foreground and background color value as you use them. You could also use other tools to check final design designs in their entirety. As a developer or someone conducting a website accessibility audit, you’ll likely want to use tools that can check completed web pages.

Contrast Ratio Requirements for Text in WCAG 2.0 Level AA & AAA

Accessibility Color Contrast ExampleWhen designing or developing accessible websites, web applications or mobile apps, it may be obvious that text should be very legible. After all, the more difficulty user have reading your information, the less likely they are to interact, engage, purchase or take whatever other action you consider key to success. This is doubly so when developing for persons with low-vision.

The Web Content Accessibility Guidelines (WCAG) 2.0 stipulate two minimum contrast ratios between text and its background color on websites, applications or mobile apps.

To meet the level AA success criteria text smaller than 18 point (or 14 point if bold) must have a 4.5:1 contrast ratio. All larger text must have a contrast ratio of 3:1 or greater.

The more stringent AAA criteria the requires text under 18 point (or 14 point if bold) to exceed a contrast ratio of 7:1. All larger text must have a contrast ratio of at least 4.5:1.

Great Color Contrast Checkers for Accessibility Testing

The list below contains some of the contrast checkers I use in accessible web design and accessibility audits of various websites and apps.

Contrast Ratio by Lea Verou

This contract ratio tool allows you to input a text color and background color as either a color name, or color value in hexadecimal (e.g. #003300) or rgba (e.g. hsla (200, 0%, 0%, 0.5). It will then display text using those values and calculate a contrast value. The contrast value button will show green, orange, or red depending to show if the value is sufficient, pasts some criteria, or fails respectively. Hover over the value button in the middle and a tooltip will tell if you meet AA, AAA or both.

Contrast Ratio tool by Lea Verou

There are many similar tools online, but this one remains one of the more simplified and easy to use.

WCAG Color Contrast Analyzer

This Chrome extension differs from other tools in being able to analyze text set on images or gradients as well as regular online text. It converts a page to an image and highlights areas where the edge between colors are different enough to meet the contrast requirement selected.

As a designer the analyzer will help answer a question like “Does the white text of my navigation bar have enough contrast when setting over a background image?”

Color Contrast Analyzer - NC State University IT Accessibility Resources

Answer: Not so much in the case of News and several others, better add a background fill.

The Color Contrast Analyzer also works for any documents you can open in the Chrome browser such as PDFs, however only the immediately visible portions of the document currently open to be read.

WAVE Accessibility Evaluation Tool for Chrome

This tool provides feedback on a variety of website accessibility issues, not only color contrast. While very similar to the well-known online WAVE accessibility evaluation tool, in this Chrome version all analysis is done entirely within the Chrome browser allowing secure valuation of intranet, local, password protected, and other sensitive web pages.

This tool has some shortcomings when analyzing text set over images. For example, in the review of below, the low contrast alerts mostly correspond to white text set over a photograph that has a semi-transparent mask or gradient applied. The tool is developing its insights by analyzing the HTML and CSS code of the page and not the actual color of visual assets like JPG, PNG, SVG, or video.

Remember: use any automated tool wisely and do not simply accept all conclusions.

WAVE - Web Accessibility Evaluation Tool reviews

WAVE Chrome tool shows a false positives in evaluating

Color Contrast for iOS by UserLight

While the above tools are mostly used in evaluating websites when viewed on desktops or laptops, Color Contrast is an iOS accessibility utility used to verify the color contrast between two colors in an app, mobile website or screenshot.

Color Contrast for iOS by UserLight

Color Contrast App for iOSThe app works by sampling two areas of a site, image stored in the device, or data from the on-board camera using a pair of crosshairs. The crosshairs are moved by touch and both contrast and pass/fail values are conveniently updated on the fly.

Because this app samples data from the actual screen or image, exact sampling is required for an accurate result. Most website text, or text set on an image, is anti-aliased and exhibits intermediate colors between the text edge and background color in order to minimize roughness and jaggedness in the text appearance. Because of this it is necessary to pinch-zoom to magnify the sample area in order to ensure you’re sampling the correct values. This also becomes an issue when sampling screenshots which may have JPEG compression artifacts scattered over areas that otherwise appear to be flat color. Even with these issues, the app is useful for spot checking values, however you probably wouldn’t want to use it to review an entire large site or mobile app.

Have Any Favorite Accessibility Testing Tools?

I use the tools above because they offer one or more unique functions, or offer a key function in a highly usable way that speeds up my workflow. They are not the only tools you should use for accessibility testing, nor are they the only options you might choose to check text contrast in your project.

If you have a favorite tool for contrast checks, or know one you think is better in some way, please leave a comment below and tell me how and why you use it.

Best Color Contrast Checkers for Accessibility Testing by Vance Bell
Vance Bell

Vance Bell

Hi there, glad you made it! I'm Vance Bell, a freelance web designer/developer and frequent marketing consultant.

Monday to Saturday I help businesses and organizations grow attention and revenue. Sometimes on Sunday I take a break and binge watch Netflix.

Owner of Pixel Engine, a Philadelphia-based web design and online marketing studio.

If you'd like to hire me, I'd love to hear from you. If you just have a question, feel free to ask.

Post a Comment