#31786E#31786E
#31786E is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.5% C 0.073 H 182.8°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #31786E |
|---|---|
| RGB | rgb(49, 120, 110) |
| HSL | hsl(172, 42%, 33%) |
| HSV | hsv(172, 59%, 47%) |
| CMYK | cmyk(59.2%, 0%, 8.3%, 52.9%) |
| CIE-LAB | lab(45.92, -24.75, -1.18) |
| CIE-LCH | lch(45.92, 24.78, 182.72°) |
| OKLab | oklab(52.47% -0.0726 -0.0036) |
| OKLCH | oklch(52.47% 0.073 182.8) |
| XYZ | xyz(10.7963, 15.2106, 17.1158) |
| Luminance | 0.1521 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Bluegreen
#017A79
ΔE00 4.57
Dark Aquamarine
#017371
ΔE00 4.58
Deep Turquoise
#017374
ΔE00 5.48
Teal
#008080
ΔE00 5.64
Deep Aqua
#08787F
ΔE00 7.39
Dark Green Blue
#1F6357
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31786E #78313B
analogous
#31784A #31786E #315E78
triadic
#31786E #6E3178 #786E31
tetradic
#31786E #4A3178 #78313B #5E7831
square
#31786E #4A3178 #78313B #5E7831
split-complementary
#31786E #78315E #784A31
monochromatic
#0E211E #1F4D46 #31786E #43A396 #64C0B3
Accessibility & contrast
On white
5.19
#31786E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#31786E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #31786E
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31786E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31786E | 1.00 | 5.19 | 4.04 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#73716E
Deuteranopia (green-blind)
#68696F
Tritanopia (blue-blind)
#007A75
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #31786e; /* rgb */ color: rgb(49, 120, 110); /* oklch */ color: oklch(52.5% 0.073 182.8);
Tailwind
colors: {
custom: {
50: '#719f97',
500: '#31786e',
950: '#000000',
},
}SCSS
$custom: #31786e; $custom-light: #719f97; $custom-dark: #000000;
JSON
{
"hex": "#31786e",
"rgb": {
"r": 49,
"g": 120,
"b": 110
},
"hsl": {
"h": 171.549,
"s": 42.012,
"l": 33.137
},
"oklch": {
"l": 0.52473,
"c": 0.07272,
"h": 182.8
},
"luminance": 0.15212
}Semantic roles & 50–950 ramp
primary
#31786E
secondary
#A75E68
accent
#5667D2
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0D
muted
#7B7E7E