Checking Color Contrast for Digital Accessibility
Weekly Accessibility Tips
Dear Colleagues,
Use the Color Contrast Tip Sheet to learn how to check the color contrast of the text and graphics you use in your content. UIC requires color contrast to meet WCAG Level AA standards.
Instructions on using a color contrast checker:
- Open WebAim Color Contrast Checker. There will be two boxes on the page: foreground and background colors.
- Choose a method to enter the foreground color in the box and then repeat the process for the background color box:
- RGB hex code method
- Type the RGB hex code in the text box below the words “Hex Value.”
- Color gradient method
- Click the button below the words “Color picker.” A pop-up will appear with a color gradient.
- Choose the color you want on the gradient.
- Adjust the color's lightness using the lightness sliding scale under the color picker button.
- Color picker method
- First, open the window with the colors you want to test (Example: a document or webpage).
- Place the window next to the color contrast checker window so they are visible at the same time.
- On the WebAim window, click the button below the words “Color picker.” A pop-up will appear with color options.
- Click the button below the color gradient that has an image of a dropper. A dropper will replace your mouse.
- Hover your mouse over the foreground color you want to test, and then click.
- Repeat the process with the background color.
- RGB hex code method
- Once you've selected your colors, scroll down to see your results.
- The contrast should pass the WCAG Level AA tests according to where the color comes from (Normal text, large text, or graphical objects and user interface components)
Resources:
To save this information, download the Color Contrast Tip Sheet. If you have any questions or require additional support, you can drop in during an Accessibility Specialist office hours or submit a support ticket.