Digital Accessibility Spotlight #4: Color and Contrast
Why it Matters
Color and contrast can make content easier to see and understand. Strong contrast helps people read text and distinguish important visual elements, especially people with low vision, color blindness, or aging eyes. Contrast can also improve visibility on mobile devices and in bright environments.
Not everyone perceives color in the same way. If color is the sole method used to communicate something, some people may miss the meaning entirely. Using color and contrast thoughtfully helps remove barriers so everyone can access information and participate fully.
Using Color and Contrast
Color is used to create sensory experiences that guide users, such as drawing attention to key details on a web form. When sharing information, don’t rely on color alone. If color conveys something important, you must provide another way for people to understand it.
- Required fields: Add a label such as “Required” instead of identifying required fields only by color.
- Error and success messages: Include text that explains what happened, rather than relying only on color, such as a green checkbox appearing when a form has been successfully submitted.
- Color coding: Avoid using color as the sole indicator of meaning. For example, if you use red, yellow and green to show status updates, add labels such as “Needs attention,” “In progress” and “Complete” so the information can be understood regardless of color perception.
- Charts and graphs: Use labels, patterns or shapes in addition to different colors.
- Important information: Use text or another visual cue to ensure the emphasis can be correctly interpreted by everyone.
Contrast is the difference between the color of text and the background behind it. Text and important visual elements, such as logos, should be easy to distinguish from the background.
- Avoid using light-colored text on light backgrounds.
- Avoid placing text directly over busy photos, gradients or other backgrounds where colors change.
- When needed, use a solid-color background behind text to create consistent contrast.
- Check the contrast of text, buttons and other important visual elements before publishing.
How to Check Color and Contrast
You don’t have to guess whether your colors have enough contrast. Use the WebAIM Contrast Checker to review your foreground color, such as text, against its background. The checker shows whether your color combination passes the accessibility requirements for normal text, large text and graphical or user interface elements.
Not sure what color value to enter? Use the color picker in the contrast checker to select your colors. If you know the hex value of a color, you can enter that instead. For a step-by-step demonstration of how to use the color picker, watch the video in our Color Contrast Fundamentals guide.
Use these minimum contrast ratios:
- Normal-size text: 4.5:1
- Large text (18+ point font): 3:1
- Interactive or graphic elements, like icons, buttons, and text boxes: 3:1
Tip: You don’t need to understand the math behind the ratio. The contrast checker will tell you whether your color combination is acceptable.
Explore Resources at Your Own Pace
- Start with the basics: Review the UW–Madison Color and Contrast guidance to learn why contrast matters and how to use color accessibly.
- Check your colors: Use the WebAIM Contrast Checker and look for a “pass” result.
- Accessibility in action: Explore digital accessibility stories from across UW–Madison to find out how others are making progress and what they’re learning along the way.
- Working in Canvas? Instructors and course designers can use UDOIT to scan a Canvas course for accessibility barriers, including color and contrast.
- Learn how to apply this fundamental: Watch the Color and Contrast instructional video for clear explanations and practical examples.
- Expand your accessibility knowledge: Read about the digital accessibility fundamentals.
- Dive deeper: Browse the Make It Accessible guide for additional resources and best practices.
What This Means for You
Digital accessibility is a shared responsibility. You don’t need to become an accessibility expert overnight. Start with practical steps, like checking color and contrast in the digital content you create.
For Instructors
Check color and contrast in your course materials, including:
- Canvas pages
- Syllabi and course documents
- Presentations
- Charts and graphs
Use a contrast checker, avoid placing text directly over images and never rely on color alone to communicate meaning. Instructors and course designers can also use UDOIT to identify accessibility issues in Canvas courses.
For Communicators and Content Editors
Review color and contrast on websites, newsletters, presentations, digital communications, buttons, icons, charts and graphics.
- Review text and important visual elements using a contrast checker.
- Avoid placing text over images or other backgrounds that make it difficult to maintain strong contrast.
- Never rely on color alone to communicate important information.
For Each of Us
Before finalizing digital content, ask yourself:
- Did I check the contrast?
- Did I check all buttons, icons and other important visual elements?
- Can the information be understood without relying on color alone?
Learn and Get Support
Office Hours
Get your questions answered in short, one‑on‑one office hour sessions with accessibility experts. Sessions are available Wednesdays and Thursdays.
Center for User Experience
The Center for User Experience can provide additional information on how to create more accessible, usable and inclusive digital content for all students, faculty and staff. Request consultation through the Center for User Experience website.
Office of Compliance
If you have questions related to the scope of the new federal rule for the Americans with Disabilities Act, contact the ADA Coordinators in the Office of Compliance.
Digital Accessibility Community of Practice
Join the Digital Accessibility Community of Practice to connect with others across the university, attend meetups and learn from shared experiences.