Color and accessibility: answer guide

For the teacher. Ratios are cut to two decimals, never rounded up, as the checker shows them.

Version 1, 15 October 2026

Print in color: Part B is about color.

Part A Measure the contrast

Open each pair in the contrast checker (the link under the pair opens it with the colors filled in, or type them). Write the ratio, then tick whether the pair passes for normal text (4.5:1) and for large text (3:1).

Accept a ratio within 0.01 of the one here: some tools round where this one cuts.

Pair 4 is the one to discuss: 2.99:1 is under 3:1, so it fails even for large text.

#Color pairRatioNormal text, 4.5:1Large text, 3:1
1

#595959 text on #FFFFFF
Open in the checker

7.00:1PassesPasses
2

#767676 text on #FFFFFF
Open in the checker

4.54:1PassesPasses
3

#8A8A8A text on #FFFFFF
Open in the checker

3.45:1FailsPasses
4

#FFFFFF text on #E07B00
Open in the checker

2.99:1FailsFails
5

#4C8DF6 text on #0D1117
Open in the checker

5.81:1PassesPasses
6

#E6E6E6 text on #FFFFFF
Open in the checker

1.24:1FailsFails

Part B See it as others do

Each pair is two lines on a chart, shown as most people see them and as simulated for the two most common kinds of red–green color blindness. Circle each view in which the two colors look hard to tell apart.

A view is hard to tell apart when the two colors are less than ΔE 10 apart. Students judging by eye may differ by one view; ask them why.

1. red #D62728 and green #2CA02C
Seen withColor pairHard to tell apart?
Typical visionNo ΔE 71.8
ProtanopiaNo ΔE 24.9
DeuteranopiaYes ΔE 4.8
2. blue #1F77B4 and orange #FF7F0E
Seen withColor pairHard to tell apart?
Typical visionNo ΔE 52.4
ProtanopiaNo ΔE 52.5
DeuteranopiaNo ΔE 60.2
3. green #2CA02C and orange #FF7F0E
Seen withColor pairHard to tell apart?
Typical visionNo ΔE 55.2
ProtanopiaYes ΔE 1.4
DeuteranopiaNo ΔE 14.5
4. purple #9467BD and blue #1F77B4
Seen withColor pairHard to tell apart?
Typical visionNo ΔE 26.4
ProtanopiaYes ΔE 1.8
DeuteranopiaYes ΔE 6.1

Part C Fix the color

Each text color fails on its background. Find a color of the same hue, darker or lighter, that reaches 4.5:1. The checker suggests one; you may also change the lightness yourself.

Any color of a similar hue that reaches 4.5:1 is right. The one given is the nearest the checker finds, keeping the hue.

#Color pairNearest passing colorIts ratio
1

#FF7F0E text on #FFFFFF (2.53:1)
Open in the checker

#BD5B00
4.50:1
2

#4AA3DF text on #FFFFFF (2.76:1)
Open in the checker

#1A7CB6
4.56:1
3

#D62728 text on #1E1E1E (3.31:1)
Open in the checker

#F14640
4.51:1

Part D Add a second cue

Each design uses color alone to say something. Describe one change that says it another way too.

  1. A sign-up form marks the field with a mistake only by turning its border red.

    A model answer Put a short message next to the field that says what is wrong and how to fix it, with an error icon. In code, mark the field aria-invalid="true" and point aria-describedby at the message, so a screen reader says it too.

    WCAG 1.4.1, 3.3.1

  2. A line chart shows sales in red and profit in green, with a color key below it.

    A model answer Write each line’s name at its end, give the lines different markers or dash patterns, and choose colors that stay apart in Part B’s simulations.

    WCAG 1.4.1, 1.4.11

  3. Links in a paragraph are blue and not underlined; the rest of the text is dark grey.

    A model answer Underline the links. If the design must not, make the link color reach 3:1 against the surrounding text and add an underline when a link is hovered or focused.

    WCAG 1.4.1

Exit question

A brand’s orange, #FF7F0E, fails as text on white. Name two changes that keep the orange in the design.

  • Use a darker orange of the same hue for text: #BD5B00 reaches 4.50:1 on white.
  • Keep the bright orange as a background and put dark text on it: #1C1B19 on #FF7F0E is 6.79:1.
  • Use the orange for shapes that carry no meaning on their own, such as a rule or an illustration, and keep the words in a passing color.

Any two of these, or another change that keeps the orange and leaves the text at 4.5:1 or more, is right.

Licensed under CC BY 4.0: copy, print and adapt it for teaching, and credit Auric Artisan.

https://auricartisan.com/resources/color-accessibility-lesson/