Fork me on GitHub

Find me the good constrasts, for web accessibility, between these two colors:

Foreground Color : invalid color For each color (red, green and blue), enter a number between 0 et 255. The color should be between #000000 and #FFFFFF
Background Color : invalid color For each color (red, green and blue), enter a number between 0 et 255. The color should be between #000000 and #FFFFFF

In the international reglementation etablished by the WCAG, the success criteria 1.4.3 requires a minimum contrast ratio of 4.5:1 (and 3:1 for enlarged text).

This minimum contrast ratio is also required by the French regulation, established by the RGAA 3.0 2016, in the criteria 3.3 et 3.4.

Component to edit :
Gimme :

Old contrast

Invalid contrast
Foreground Background Sample Ratio Distance
  • hsl(120, 32%, 40%)
  • rgb(70, 136, 71)
  • #468847
  • hsl(169, 82%, 66%)
  • rgb(100, 240, 216)
  • #64F0D8

Title big size with words in bold

Here is some text sample with some words in bold to illustrate the contrast.

3.07762

New contrast : 17 results (3,672,320 colors tested)

Valid contrasts
Foreground Background Sample Ratio Distance
  • hsl(117, 32%, 31%)
  • rgb(57, 107, 55)
  • #396B37
  • hsl(169, 82%, 66%)
  • rgb(100, 240, 216)
  • #64F0D8

Title big size with words in bold

Here is some text sample with some words in bold to illustrate the contrast.

4.50075 31.31
  • hsl(122, 31%, 31%)
  • rgb(56, 107, 58)
  • #386B3A
  • hsl(169, 82%, 66%)
  • rgb(100, 240, 216)
  • #64F0D8

Title big size with words in bold

Here is some text sample with some words in bold to illustrate the contrast.

4.5006 30.84
  • hsl(123, 36%, 30%)
  • rgb(50, 108, 53)
  • #326C35
  • hsl(169, 82%, 66%)
  • rgb(100, 240, 216)
  • #64F0D8

Title big size with words in bold

Here is some text sample with some words in bold to illustrate the contrast.

4.50097 32.95
  • hsl(117, 44%, 29%)
  • rgb(45, 109, 42)
  • #2D6D2A
  • hsl(169, 82%, 66%)
  • rgb(100, 240, 216)
  • #64F0D8

Title big size with words in bold

Here is some text sample with some words in bold to illustrate the contrast.

4.50041 39.08
  • hsl(120, 42%, 30%)
  • rgb(44, 109, 45)
  • #2C6D2D
  • hsl(169, 82%, 66%)
  • rgb(100, 240, 216)
  • #64F0D8

Title big size with words in bold

Here is some text sample with some words in bold to illustrate the contrast.

4.50044 37.99
  • hsl(117, 52%, 28%)
  • rgb(37, 110, 34)
  • #256E22
  • hsl(169, 82%, 66%)
  • rgb(100, 240, 216)
  • #64F0D8

Title big size with words in bold

Here is some text sample with some words in bold to illustrate the contrast.

4.50086 47.05
  • hsl(120, 50%, 28%)
  • rgb(36, 110, 37)
  • #246E25
  • hsl(169, 82%, 66%)
  • rgb(100, 240, 216)
  • #64F0D8

Title big size with words in bold

Here is some text sample with some words in bold to illustrate the contrast.

4.50091 45.82
  • hsl(123, 51%, 28%)
  • rgb(35, 110, 40)
  • #236E28
  • hsl(169, 82%, 66%)
  • rgb(100, 240, 216)
  • #64F0D8

Title big size with words in bold

Here is some text sample with some words in bold to illustrate the contrast.

4.5004 44.85
  • hsl(117, 65%, 26%)
  • rgb(27, 111, 23)
  • #1B6F17
  • hsl(169, 82%, 66%)
  • rgb(100, 240, 216)
  • #64F0D8

Title big size with words in bold

Here is some text sample with some words in bold to illustrate the contrast.

4.50003 59.03
  • hsl(120, 62%, 26%)
  • rgb(26, 111, 26)
  • #1A6F1A
  • hsl(169, 82%, 66%)
  • rgb(100, 240, 216)
  • #64F0D8

Title big size with words in bold

Here is some text sample with some words in bold to illustrate the contrast.

4.50021 57.68
  • hsl(124, 64%, 26%)
  • rgb(24, 111, 31)
  • #186F1F
  • hsl(169, 82%, 66%)
  • rgb(100, 240, 216)
  • #64F0D8

Title big size with words in bold

Here is some text sample with some words in bold to illustrate the contrast.

4.5005 56.14
  • hsl(117, 91%, 22%)
  • rgb(10, 112, 5)
  • #0A7005
  • hsl(169, 82%, 66%)
  • rgb(100, 240, 216)
  • #64F0D8

Title big size with words in bold

Here is some text sample with some words in bold to illustrate the contrast.

4.50001 80.28
  • hsl(116, 93%, 22%)
  • rgb(10, 112, 4)
  • #0A7004
  • hsl(169, 82%, 66%)
  • rgb(100, 240, 216)
  • #64F0D8

Title big size with words in bold

Here is some text sample with some words in bold to illustrate the contrast.

4.5006 80.96
  • hsl(118, 88%, 23%)
  • rgb(9, 112, 7)
  • #097007
  • hsl(169, 82%, 66%)
  • rgb(100, 240, 216)
  • #64F0D8

Title big size with words in bold

Here is some text sample with some words in bold to illustrate the contrast.

4.50057 79.53
  • hsl(121, 86%, 23%)
  • rgb(8, 112, 10)
  • #08700A
  • hsl(169, 82%, 66%)
  • rgb(100, 240, 216)
  • #64F0D8

Title big size with words in bold

Here is some text sample with some words in bold to illustrate the contrast.

4.50053 78.25
  • hsl(123, 88%, 23%)
  • rgb(7, 112, 13)
  • #07700D
  • hsl(169, 82%, 66%)
  • rgb(100, 240, 216)
  • #64F0D8

Title big size with words in bold

Here is some text sample with some words in bold to illustrate the contrast.

4.50035 77.14
  • hsl(125, 89%, 23%)
  • rgb(6, 112, 15)
  • #06700F
  • hsl(169, 82%, 66%)
  • rgb(100, 240, 216)
  • #64F0D8

Title big size with words in bold

Here is some text sample with some words in bold to illustrate the contrast.

4.50062 76.72
Not satisfied ?