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(97, 58%, 43%)
  • rgb(95, 177, 47)
  • #5FB12F
  • hsl(102, 44%, 89%)
  • rgb(223, 240, 216)
  • #DFF0D8

Title big size with words in bold

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

2.25078

New contrast : 20 results (6,086,476 colors tested)

Valid contrasts
Foreground Background Sample Ratio Distance
  • hsl(93, 16%, 37%)
  • rgb(94, 112, 80)
  • #5E7050
  • hsl(102, 44%, 89%)
  • rgb(223, 240, 216)
  • #DFF0D8

Title big size with words in bold

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

4.50018 62.03
  • hsl(96, 33%, 34%)
  • rgb(81, 116, 58)
  • #51743A
  • hsl(102, 44%, 89%)
  • rgb(223, 240, 216)
  • #DFF0D8

Title big size with words in bold

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

4.50055 61.13
  • hsl(100, 30%, 34%)
  • rgb(80, 116, 62)
  • #50743E
  • hsl(102, 44%, 89%)
  • rgb(223, 240, 216)
  • #DFF0D8

Title big size with words in bold

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

4.50091 61.0
  • hsl(93, 42%, 32%)
  • rgb(78, 117, 47)
  • #4E752F
  • hsl(102, 44%, 89%)
  • rgb(223, 240, 216)
  • #DFF0D8

Title big size with words in bold

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

4.50011 60.45
  • hsl(100, 35%, 33%)
  • rgb(76, 117, 56)
  • #4C7538
  • hsl(102, 44%, 89%)
  • rgb(223, 240, 216)
  • #DFF0D8

Title big size with words in bold

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

4.50078 60.56
  • hsl(95, 46%, 31%)
  • rgb(73, 118, 43)
  • #49762B
  • hsl(102, 44%, 89%)
  • rgb(223, 240, 216)
  • #DFF0D8

Title big size with words in bold

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

4.50006 60.01
  • hsl(102, 38%, 33%)
  • rgb(71, 118, 52)
  • #477634
  • hsl(102, 44%, 89%)
  • rgb(223, 240, 216)
  • #DFF0D8

Title big size with words in bold

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

4.50083 60.28
  • hsl(93, 60%, 29%)
  • rgb(69, 119, 29)
  • #45771D
  • hsl(102, 44%, 89%)
  • rgb(223, 240, 216)
  • #DFF0D8

Title big size with words in bold

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

4.5001 60.23
  • hsl(96, 54%, 30%)
  • rgb(68, 119, 35)
  • #447723
  • hsl(102, 44%, 89%)
  • rgb(223, 240, 216)
  • #DFF0D8

Title big size with words in bold

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

4.50093 60.05
  • hsl(100, 48%, 31%)
  • rgb(67, 119, 41)
  • #437729
  • hsl(102, 44%, 89%)
  • rgb(223, 240, 216)
  • #DFF0D8

Title big size with words in bold

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

4.50022 60.12
  • hsl(94, 69%, 27%)
  • rgb(63, 120, 22)
  • #3F7816
  • hsl(102, 44%, 89%)
  • rgb(223, 240, 216)
  • #DFF0D8

Title big size with words in bold

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

4.50009 61.59
  • hsl(94, 70%, 27%)
  • rgb(63, 120, 21)
  • #3F7815
  • hsl(102, 44%, 89%)
  • rgb(223, 240, 216)
  • #DFF0D8

Title big size with words in bold

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

4.50096 61.76
  • hsl(98, 61%, 29%)
  • rgb(62, 120, 29)
  • #3E781D
  • hsl(102, 44%, 89%)
  • rgb(223, 240, 216)
  • #DFF0D8

Title big size with words in bold

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

4.50051 61.0
  • hsl(101, 54%, 30%)
  • rgb(61, 120, 35)
  • #3D7823
  • hsl(102, 44%, 89%)
  • rgb(223, 240, 216)
  • #DFF0D8

Title big size with words in bold

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

4.50037 60.93
  • hsl(96, 79%, 26%)
  • rgb(56, 121, 14)
  • #38790E
  • hsl(102, 44%, 89%)
  • rgb(223, 240, 216)
  • #DFF0D8

Title big size with words in bold

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

4.50018 64.7
  • hsl(96, 80%, 26%)
  • rgb(56, 121, 13)
  • #38790D
  • hsl(102, 44%, 89%)
  • rgb(223, 240, 216)
  • #DFF0D8

Title big size with words in bold

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

4.50079 64.97
  • hsl(100, 69%, 28%)
  • rgb(55, 121, 22)
  • #377916
  • hsl(102, 44%, 89%)
  • rgb(223, 240, 216)
  • #DFF0D8

Title big size with words in bold

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

4.50072 63.43
  • hsl(100, 83%, 26%)
  • rgb(47, 122, 11)
  • #2F7A0B
  • hsl(102, 44%, 89%)
  • rgb(223, 240, 216)
  • #DFF0D8

Title big size with words in bold

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

4.5001 68.66
  • hsl(100, 84%, 25%)
  • rgb(47, 122, 10)
  • #2F7A0A
  • hsl(102, 44%, 89%)
  • rgb(223, 240, 216)
  • #DFF0D8

Title big size with words in bold

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

4.50062 68.94
  • hsl(97, 12%, 38%)
  • rgb(96, 111, 87)
  • #606F57
  • hsl(102, 44%, 89%)
  • rgb(223, 240, 216)
  • #DFF0D8

Title big size with words in bold

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

4.50097 60.69
Not satisfied ?