+ Feedback
  • Skip to primary navigation
  • Skip to main content
  • Skip to footer

eSAIL

Engineering Studio for Advanced Instruction & Learning

  • Home
  • Faculty Services
    • Course Design
    • Canvas Support
    • On-Demand Resources
    • Mediasite
    • Helpful Tools
  • On-Demand Resources
    • Online & Remote Teaching
    • Live Workshops at eSAIL
    • Faculty Development
    • Frequently Asked Questions (FAQ)
    • Accessibility Series
    • All Faculty Tutorials
    • All Webinars & Workshops
  • Contact
    • Contact Us
    • About Our Team
    • Physical Location
    • Subscribe to our Newsletter
    • Website Feedback
Home » Faculty Tutorials » Accessibility » Accessibility Series » Contrast & Color Accessibility

October 13, 2020 By Sandra Childers

Contrast & Color Accessibility

In this tutorial, you’ll learn how color and contrast can create more accessible documents, presentations, and web pages.

Page Contents

  • The Definition of Contrast
  • Accessibility Guidelines for Contrast & Color
  • Contrast Examples
    • WebAIM’s Contrast Checker
  • Don’t Use Color Alone
    • Example 1: Links/Hyperlinks
    • Example 2: Pie Charts
      • Black & White Copies and Printouts
      • A Good (Black & White) Pie Chart Example
  • Conclusion

The Definition of Contrast

Contrast is a measure of the difference in perceived “luminance” or brightness between two colors.

This brightness difference is expressed as a ratio ranging from 1:1 (e.g., white text on white background) to 21:1 (e.g., black text on white background).

Accessibility Guidelines for Contrast & Color

Based on Web Content Accessibility Guidelines (WCAG) 2.1 Level AA:

  • Contrast Ratio between text and its background must be:
    • 4.5:1 for normal (body) text (Contrast Minimum)
    • 3:1 for large text
  • Never use color alone to present content or instructions. (Use of Color)

Contrast Examples

You may think eyeballing your text and its background color is enough to ensure your contrast is sufficient. However, the lack of contrast between some colors may surprise you.

Here are some good and bad examples of contrast along with their contrast ratios.

Good and Bad contrast examples accompanied by contrast ratios. White on offwhite is horrid at 1.12 to 1. Red text on yellow is also bad at 3.72 to 1. However, dark blue on light blue has a good contrast at 5.24 to 1, black on light purple has better contrast at 13.9 to 1, and white text on black has best contrast at 21 to 1.
Figure 1. Good and Bad Contrast Examples – Goal Contrast Ratio: 4.5:1 and higher

WebAIM’s Contrast Checker

WebAIM’s Contrast Checker is a great tool to help you determine if your text and its background color have a high enough contrast to meet Level AA compliance.

Please note: WebAIM’s Contrast Checker calculates contrast ratio based on HEX values entered for text and background colors. Just Color Picker is a great tool to grab HEX color values from anywhere on your screen, so you can enter that value into the contrast checker.

Just Color Picker shouldn’t require an install, but please contact Engr-HelpDesk@tamu.edu if you need assistance getting this program onto your machine.

Textual content should have the highest contrast ratio possible, so students can do their best in your course.

Don’t Use Color Alone

Never use color alone to present content or instructions. Add something extra, like a character or style, so students can tell there is something different about this particular content.

Example 1: Links/Hyperlinks

Links are a simple example of this concept. Links are typically blue and underlined. However, not everyone can see the color blue. This is why we add a secondary indicator that the content is a link: the underline.

Since an underline signifies your text is a link, generally, you should not underline other types of content. Use bold or italics for emphasis instead.

Example 2: Pie Charts

Pie charts (and other graphs) are a great example to explore as well. Sometimes, you see pie charts split apart with many different colors. But the more colors used, the more they start to blend together.

For example, in this London Ethnicities pie chart, can you tell which blue segments are Bangladeshi, Indian, Pakastani, and Other?

Multi-colored pie chart without labels or textures and with key. Many of the colors are too similar to differentiate the segments.
Figure 2. London Ethnicities – Multi-colored pie chart with key

Adding textures to your pie segments, like varying dots and lines, makes segments much easier to differentiate. It’s also extremely useful to add labels pointing to each segment, rather than having a key or legend containing each color and its corresponding label.

Black & White Copies and Printouts

Think about how often charts are printed (or copied) to black and white. This monochrome version must still allow your students to understand your chart. Some students may actually see all of your content in shades of gray if they have a certain type of colorblindness. (Though, this is admittedly rare.) Black and white printouts or copies, however, are much more prevalent due to the cost of colored ink.

The chart below (Figure 3) is the same chart seen in Figure 2, but with a black-and-white filter.

Black & white pie chart using only colors to differentiate between segments. Unreadable to sighted people since it's impossible to differentiate between shades of gray pie slices.
Figure 3. Black & White pie chart without texture or labels

The chart in Figure 3 gives students no indication of what label goes with which segment. Adding texture and labels would make this chart readable again.

A Good (Black & White) Pie Chart Example

The chart below (Figure 4) illustrates exactly what needs to happen when a chart goes monochrome. Even though this chart rarely uses textures, and many segments look identical, we know what they are due to their labels.

Black & White pie chart without texture, but with labels indicating what each slice means.
Figure 4. Black & White pie chart example

Conclusion

Accessing content should never be a barrier between your students and their education. This is why we must ensure colors have sufficient contrast, and extra indicators are added to colors to convey something is different about certain types of content or information.

This tutorial is part of the Accessibility Series. More tips to come on how to get and keep your documents and web pages accessible!

Filed Under: Accessibility Series

Previous Post: « How to Create Accessible Links
Next Post: How to Create Accessible Tables in Microsoft Word »

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Texas A&M University Engineering
TEES - Texas A&M Engineering Experiment Station.

Footer

About Our Team

Our team is comprised of individuals with development, video producing, accessibility, writing, and learning/teaching expertise – all ready to partner with faculty…

Learn more about our team

Contact

Online Course & Mediasite Support
EngrLearnTech@tamu.edu

We’d love to hear from you!
Contact Us

Quick Links

  • Contact eSAIL
  • Website Feedback
  • State Links & Policies

Subscribe to our Newsletter

Get tips each quarter to make each semester more successful than the last!
Subscribe to our Newsletter

© 2023 · Texas A&M University · All Rights Reserved · Log in