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, 37%, 58%)
  • rgb(109, 189, 188)
  • #6DBDBC
  • 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.17494

New contrast : 20 results (6,853,000 colors tested)

Valid contrasts
Foreground Background Sample Ratio Distance
  • 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 81.95
  • 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 82.0
  • 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 80.79
  • 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 81.27
  • 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 79.11
  • 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 77.83
  • 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 81.41
  • 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 79.99
  • 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 88.28
  • 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 89.37
  • 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 94.22
  • 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 90.52
  • 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 95.19
  • 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 92.92
  • 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 94.06
  • 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 108.25
  • 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 107.63
  • 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 113.04
  • 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 110.69
  • 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 115.98
Not satisfied ?