Kerbly

Red #cc0000 on green #009900: 1.56:1 contrast

The pairing that causes the most problems for colour-blind visitors.

Your colours

#cc0000 · rgb(204, 0, 0) · hsl(0, 100%, 40%)

#009900 · rgb(0, 153, 0) · hsl(120, 100%, 30%)

Try an example

Result

1.56:1

Fails WCAG contrast for text

Contrast ratio 1.56 to 1. Fails WCAG contrast for text.

  • AA, normal text

    Needs 4.5:1 · Body text and most labels. The level most laws and policies ask for.

    Fail
  • AA, large text

    Needs 3:1 · Text from 24px, or 18.66px and bold.

    Fail
  • AAA, normal text

    Needs 7:1 · The enhanced level. Worth aiming for on long reading.

    Fail
  • AAA, large text

    Needs 4.5:1 · Large text at the enhanced level.

    Fail
  • Buttons, icons and borders

    Needs 3:1 · Parts of controls and graphics you need to see (WCAG 2.2, 1.4.11).

    Fail

Fix it: the closest colours that pass

Same hue, smallest change. Pick one to try it in the preview above.

Change the text colour

  • Darker text: #420000

    4.51:1 · keeps the same hue, moves 27 points of lightness

Or change the background

  • Lighter background: #66ff66

    4.5:1 · keeps the same hue, moves 40 points of lightness

How it looks with colour-blindness

About 1 in 12 men and 1 in 200 women have some form of colour-vision deficiency. These previews are an approximation, and the ratio is measured on the simulated colours.

  • Protanopia

    No red cones. Reds look dark and muddy.

    2.53:1Below AA
  • Deuteranopia

    No green cones. The most common type.

    1.21:1Below AA
  • Tritanopia

    No blue cones. Rare. Blues and yellows blur together.

    1.31:1Below AA
  • Greyscale

    No colour at all. Only lightness is left.

    1.56:1Below AA

The short answer

Red #cc0000 on green #009900 has a contrast ratio of 1.56:1. That is below even the 3:1 needed for large text and button edges, so it fails WCAG for all text sizes.

Colours that pass instead

These are the smallest changes that reach 4.5:1 and keep the same hue, so the look stays close to what you had.

Questions about this pair

Is red #cc0000 on green #009900 accessible?

Red #cc0000 on green #009900 has a contrast ratio of 1.56:1. That is below even the 3:1 needed for large text and button edges, so it fails WCAG for all text sizes.

Can I use red #cc0000 on green #009900 for body text?

No. Body text needs 4.5:1 for AA and this pair reaches 1.56:1. Changing the text to #420000 gets it to 4.51:1.

Can I use it for large headings, buttons or icons?

No. Large text and button edges need 3:1 and this pair has 1.56:1.

Other combinations people check

Open the full contrast checker to test your own colours or a whole palette.

See how your whole site does

A free scan checks every page element against WCAG 2.2, colours included, and explains each fix in plain English.

No account needed. Takes about 30 seconds.