Topics Map > Services > Accessibility and Universal Design
Topics Map > Services > Teaching, Learning and Classrooms > Assistive Technology
Color Contrast
What is Color Contrast?
Thoughtful use of contrast and color are fundamentals to accessibility. All users, including users with visual disabilities, must be able to perceive content on the page. Color contrast ensures the contrast ration between text, and images of text, and it's background is sufficient. It is the difference in brightness between colors in the foreground and background. When using colors, look for the difference between text and its background, text and images, and information in charts and maps.
An example of color contrast would be white text on a black background. An example of low-contrast colors would be yellow and white. These colors are more difficult to read as there is no light and dark color separation between them.
WCAG 2.1 level AA requires a contrast ratio of
- Normal sized text should have a contrast ratio of at least 4.5:1
- Large Text is easier to read, so the contrast requirement is reduced to a ratio of at least 3:1. Large sized text consists of an 18 pt font or higher or a 14 pt. font bolded.
- Graphics at least 3:1 for graphics and user interface components (such as form input borders).
- Logo Text does not have a contrast requirement.
Color Contrast Example
Below is an example showing how difficult it is to read text with insufficient contrast.
Benefits of Color Contrast
Most people prefer good contrast - it's easier for everyone to read. If you've ever sat through a slide presentation with poor contrast or used subtitles on a movie where the contrast was not high enough, you know how frustrating it can be to not be able to access the information being presented.
But poor contrast especially impacts people with low vision and with color blindness.
Color Contrast Guidelines
- Choose high-contrast color schemes. Warm and cool colors make for the best color contrast.
- Black text on a white background offers the best color contrast.
- Avoid white text on a black background, as it creates a visual fuzzing effect known as "halation" for people with corrective lenses.
- Avoid green-red and yellow-blue color combinations, as they present challenges to many with color blindness.
- Use large text and simple fonts. San serif fonts are easiest to read.
- Use bold instead of color for emphasis.
- Don't rely on color as the sole means of conveying information. Color should not be the only method used to indicate emphasis, heading levels, or links.
- Set text against solid background. Photographic and gradient backgrounds can make text difficult to read.
Check Color Contrast
Use a dedicated color contrast checking tool to check color contrast in your files. WebAIM offers a manual color contrast checker where you input foreground and background color values (like hex codes) to receive a contrast ratio indicating whether the color combination meets accessibility standards.
Related resources
- Section508.gov – Color Contrast Analyzer
- WebAIM – Contrast and Color Accessibility