Table of Contents

Overview

Color should not be used as the only visual means of conveying information, indicating an action, prompting a response, or distinguishing a visual element.

Ensure that all sighted users can access information that is conveyed by color differences, that is, by the use of color where each color has a meaning assigned to it. If the information is conveyed through color differences in an image (or other non-text format), the color may not be seen by users with color deficiencies. In this case, providing the information conveyed with color through another visual means ensures users who cannot see color can still perceive the information.

Color is an important asset in the design of Web content, enhancing its aesthetic appeal, its usability, and its accessibility. However, some users have difficulty perceiving color. People with partial sight often experience limited color vision, and many older users do not see color well. In addition, people using limited-color or monochrome displays and browsers will be unable to access information that is presented only in color.

Provide sufficient contrast:

Sufficient contrast must also be provided to non-text content such as keyboard focus indicators for menu items, buttons, links, and form elements

Color Contrast Between Text and Background Color

How to Test Color Contrast

Test your contrast level between text and background using this color contrast checker for WCAG Level AA compliance.

Color contrast checker for WCAG compliance

colorcontrast.png

Color Contrast Related to Links

How to Test Color Contrast

Test your contrast level related to links using this color contrast checker for WCAG Level AA compliance.

Color contrast checker for links

colorcontrast2.png

Color Blindness

Challenges

Solutions

Reds and greens are often indistinguishable

This is not normally a problem except in cases where the colors convey important information. Under these circumstances you will need to either change the content or graphic or provide an additional means of obtaining the same information. For example, provide an explanation in the text itself.

Use this filter to test web pages for color blindness.

https://www.toptal.com/designers/colorfilter/

Color and Messaging

Don’t rely on color to convey critical information such as alerts, error and status messaging.

Please see more information about this under the Alert/Error Messaging section.

Contrast and Non-Text Content

Ensure that active user interface components and controls and meaningful graphics are distinguishable by people with moderately low vision.

Low contrast controls are more difficult to perceive, and may be completely missed by people with a visual impairment. Similarly, if a graphic is needed to understand the content or functionality of the webpage then it should be perceivable by people with low vision or other impairments without the need for contrast-enhancing assistive technology.

The visual presentation of the following should have a contrast ratio of at least 3:1 against adjacent color(s):

Example as It Relates to Keyboard Focus Indicators

A:focus

Please see more detailed information on how to comply with this guideline.

keyboarfocusindicator.png

Color Should Not Be Used as The Only Way to Convey Information

Ensure that all sighted users can access information that is conveyed by color differences, that is, by the use of color where each color has a meaning assigned to it.

If the information is conveyed through color differences in an image (or other non-text format), the color may not be seen by users with color deficiencies. In this case, providing the information conveyed with color through another visual means ensures users who cannot see color can still perceive the information.

Color is an important asset in design of Web content, enhancing its aesthetic appeal, its usability, and its accessibility. However, some users have difficulty perceiving color.

People with partial sight often experience limited color vision, and many older users do not see color well. In addition, people using limited-color or monochrome displays and browsers will be unable to access information that is presented only in color.

This benefits:

Please see more detailed information on how to comply with this guideline.

coloralone.png

WCAG Related Guidelines

1.3.3 Sensory Characteristics (Level A)

1.4.1 Use of Color (Level A)

1.4.3 Contrast Minimum (Level AA)

1.4.11 Non-Text Content (Level AA)