#31796E#31796E
#31796E is a mid, moderate teal. Relative luminance 0.155; OKLCH L 52.7% C 0.074 H 181.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #31796E |
|---|---|
| RGB | rgb(49, 121, 110) |
| HSL | hsl(171, 42%, 33%) |
| HSV | hsv(171, 60%, 47%) |
| CMYK | cmyk(59.5%, 0%, 9.1%, 52.5%) |
| CIE-LAB | lab(46.25, -25.26, -0.70) |
| CIE-LCH | lch(46.25, 25.27, 181.59°) |
| OKLab | oklab(52.74% -0.0738 -0.0023) |
| OKLCH | oklch(52.74% 0.074 181.8) |
| XYZ | xyz(10.9172, 15.4524, 17.1561) |
| Luminance | 0.1545 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Bluegreen
#017A79
ΔE00 4.86
Dark Aquamarine
#017371
ΔE00 4.99
Teal
#008080
ΔE00 5.77
Deep Turquoise
#017374
ΔE00 5.92
Greenish Blue
#0B8B87
ΔE00 7.57
Deep Aqua
#08787F
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31796E #79313C
analogous
#31794A #31796E #316079
triadic
#31796E #6E3179 #796E31
tetradic
#31796E #4A3179 #79313C #607931
square
#31796E #4A3179 #79313C #607931
split-complementary
#31796E #793160 #794A31
monochromatic
#0E221F #1F4D46 #31796E #43A596 #64C0B2
Accessibility & contrast
On white
5.13
#31796E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#31796E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #31796E
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31796E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31796E | 1.00 | 5.13 | 4.09 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#74726E
Deuteranopia (green-blind)
#696A6F
Tritanopia (blue-blind)
#007B76
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #31796e; /* rgb */ color: rgb(49, 121, 110); /* oklch */ color: oklch(52.7% 0.074 181.8);
Tailwind
colors: {
custom: {
50: '#71a097',
500: '#31796e',
950: '#000000',
},
}SCSS
$custom: #31796e; $custom-light: #71a097; $custom-dark: #000000;
JSON
{
"hex": "#31796e",
"rgb": {
"r": 49,
"g": 121,
"b": 110
},
"hsl": {
"h": 170.833,
"s": 42.353,
"l": 33.333
},
"oklch": {
"l": 0.52738,
"c": 0.07386,
"h": 181.8
},
"luminance": 0.15454
}Semantic roles & 50–950 ramp
primary
#31796E
secondary
#A85E69
accent
#5669D2
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0D
muted
#7B7E7E