WCAG Contrast Checker
Check color contrast for WCAG 2 accessibility compliance, with APCA Lc as extra readability guidance
Foreground (Text)
Background
Preview
The quick brown fox jumps over the lazy dog
Large Text Example
Contrast Ratio
Normal Text
Regular text (under 18pt or 14pt bold)
Large Text
18pt and larger, or 14pt bold and larger
UI Components & Graphics
Icons, input borders, focus outlines and chart lines against the colors next to them (WCAG 1.4.11)
APCA contrast (Lc)
APCA is a contrast method in public beta. It is not part of WCAG 2.x, the guidelines accessibility laws refer to, so use the WCAG verdict above for compliance and Lc as extra readability guidance. APCA vs WCAG 2, explained.
- Text color
- #000000
- Background
- #FFFFFF
APCA depends on which color is the text. Swapping the two colors changes the Lc, so check again after any swap.
If the colors were swapped (#FFFFFF text on #000000): Lc -107.9.
APCA levels
- Lc 90Preferred Body TextThis pairThe preferred level for columns and paragraphs of body text.
- Lc 75Minimum Body TextThe lowest level for body text, and for any larger text where readability is important.
- Lc 60Minimum Fluent textText people should read that is not body, column or block text.
- Lc 45Minimum Large textLarge, heavier text such as headlines; icons with fine detail.
- Lc 30Minimum Any textNon-content text only: placeholders, disabled text, solid icons.
- Lc 15Invisibility pointCertain non-text only, such as dividers; below this treat as invisible.
The levels are explained in APCA in a Nutshell. Sizes for every weight are in the font size and weight lookup tables.
Minimum font size at Lc 106.0
- Weight 30018pxSample text
- Weight 40014.5pxSample text
- Weight 70012pxSample text
Samples use Arial or Helvetica, the APCA reference font, at the minimum size and weight in your colors. Sizes are CSS pixels. Many systems have no Arial at weight 300, so that sample may show at 400.
Questions, comments or issues about APCA itself go to the APCA discussion forum on GitHub.
About WCAG
WCAG (Web Content Accessibility Guidelines) defines contrast ratios to ensure text is readable for people with visual impairments.
- AA - The level most accessibility standards ask for
- AAA - Enhanced contrast for better accessibility
How this pair looks with color blindness
An approximate simulation. Colors shift in brightness, so the ratio under each preview may differ from the WCAG ratio above; WCAG compliance is judged on the original colors. To check a whole image or your camera, open the Color Blindness Simulator. Text over a photo or a screenshot? Use the Image Contrast Checker.
- Sample text Aa
Protanopia
21.00:1 after simulation
- Sample text Aa
Deuteranopia
21.00:1 after simulation
- Sample text Aa
Tritanopia
21.00:1 after simulation
- Sample text Aa
Achromatopsia
21.00:1 after simulation