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(179, 100%, 37%)
  • rgb(0, 192, 189)
  • #00C0BD
  • hsl(0, 0%, 100%)
  • rgb(255, 255, 255)
  • #FFFFFF

Title big size with words in bold

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

2.26423

New contrast : 21 results (3,409,728 colors tested)

Valid contrasts
Foreground Background Sample Ratio Distance
  • hsl(177, 94%, 26%)
  • rgb(4, 133, 127)
  • #04857F
  • hsl(0, 0%, 100%)
  • rgb(255, 255, 255)
  • #FFFFFF

Title big size with words in bold

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

4.50003 76.27
  • hsl(176, 88%, 27%)
  • rgb(8, 133, 126)
  • #08857E
  • hsl(0, 0%, 100%)
  • rgb(255, 255, 255)
  • #FFFFFF

Title big size with words in bold

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

4.50006 76.91
  • hsl(181, 88%, 28%)
  • rgb(8, 132, 136)
  • #088488
  • hsl(0, 0%, 100%)
  • rgb(255, 255, 255)
  • #FFFFFF

Title big size with words in bold

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

4.50031 71.42
  • hsl(181, 83%, 28%)
  • rgb(12, 132, 135)
  • #0C8487
  • hsl(0, 0%, 100%)
  • rgb(255, 255, 255)
  • #FFFFFF

Title big size with words in bold

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

4.50065 71.9
  • hsl(175, 79%, 29%)
  • rgb(15, 133, 124)
  • #0F857C
  • hsl(0, 0%, 100%)
  • rgb(255, 255, 255)
  • #FFFFFF

Title big size with words in bold

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

4.50029 78.11
  • hsl(174, 73%, 30%)
  • rgb(20, 133, 122)
  • #14857A
  • hsl(0, 0%, 100%)
  • rgb(255, 255, 255)
  • #FFFFFF

Title big size with words in bold

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

4.50085 79.27
  • hsl(183, 65%, 32%)
  • rgb(29, 131, 138)
  • #1D838A
  • hsl(0, 0%, 100%)
  • rgb(255, 255, 255)
  • #FFFFFF

Title big size with words in bold

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

4.50088 69.47
  • hsl(183, 63%, 32%)
  • rgb(31, 131, 137)
  • #1F8389
  • hsl(0, 0%, 100%)
  • rgb(255, 255, 255)
  • #FFFFFF

Title big size with words in bold

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

4.50063 69.64
  • hsl(176, 60%, 32%)
  • rgb(33, 132, 126)
  • #21847E
  • hsl(0, 0%, 100%)
  • rgb(255, 255, 255)
  • #FFFFFF

Title big size with words in bold

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

4.50021 75.48
  • hsl(175, 57%, 32%)
  • rgb(36, 132, 124)
  • #24847C
  • hsl(0, 0%, 100%)
  • rgb(255, 255, 255)
  • #FFFFFF

Title big size with words in bold

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

4.5001 76.29
  • hsl(181, 57%, 33%)
  • rgb(36, 131, 134)
  • #248386
  • hsl(0, 0%, 100%)
  • rgb(255, 255, 255)
  • #FFFFFF

Title big size with words in bold

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

4.50086 70.25
  • hsl(180, 54%, 33%)
  • rgb(39, 131, 132)
  • #278384
  • hsl(0, 0%, 100%)
  • rgb(255, 255, 255)
  • #FFFFFF

Title big size with words in bold

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

4.50067 70.66
  • hsl(178, 50%, 34%)
  • rgb(43, 131, 129)
  • #2B8381
  • hsl(0, 0%, 100%)
  • rgb(255, 255, 255)
  • #FFFFFF

Title big size with words in bold

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

4.50042 71.37
  • hsl(181, 36%, 37%)
  • rgb(61, 129, 131)
  • #3D8183
  • hsl(0, 0%, 100%)
  • rgb(255, 255, 255)
  • #FFFFFF

Title big size with words in bold

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

4.50039 60.2
  • hsl(177, 32%, 38%)
  • rgb(65, 129, 126)
  • #41817E
  • hsl(0, 0%, 100%)
  • rgb(255, 255, 255)
  • #FFFFFF

Title big size with words in bold

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

4.50051 60.86
  • hsl(183, 32%, 39%)
  • rgb(68, 128, 132)
  • #448084
  • hsl(0, 0%, 100%)
  • rgb(255, 255, 255)
  • #FFFFFF

Title big size with words in bold

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

4.50002 51.03
  • hsl(180, 23%, 40%)
  • rgb(78, 127, 127)
  • #4E7F7F
  • hsl(0, 0%, 100%)
  • rgb(255, 255, 255)
  • #FFFFFF

Title big size with words in bold

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

4.5005 33.74
  • hsl(175, 18%, 41%)
  • rgb(86, 126, 123)
  • #567E7B
  • hsl(0, 0%, 100%)
  • rgb(255, 255, 255)
  • #FFFFFF

Title big size with words in bold

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

4.5006 39.38
  • hsl(182, 13%, 43%)
  • rgb(95, 124, 125)
  • #5F7C7D
  • hsl(0, 0%, 100%)
  • rgb(255, 255, 255)
  • #FFFFFF

Title big size with words in bold

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

4.50086 65.48
  • hsl(177, 12%, 43%)
  • rgb(96, 124, 123)
  • #607C7B
  • hsl(0, 0%, 100%)
  • rgb(255, 255, 255)
  • #FFFFFF

Title big size with words in bold

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

4.50023 65.64
  • hsl(182, 10%, 43%)
  • rgb(100, 123, 124)
  • #647B7C
  • hsl(0, 0%, 100%)
  • rgb(255, 255, 255)
  • #FFFFFF

Title big size with words in bold

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

4.50055 73.49
Not satisfied ?