#31796F#31796F
#31796F is a mid, moderate teal. Relative luminance 0.155; OKLCH L 52.8% C 0.073 H 182.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #31796F |
|---|---|
| RGB | rgb(49, 121, 111) |
| HSL | hsl(172, 42%, 33%) |
| HSV | hsv(172, 60%, 47%) |
| CMYK | cmyk(59.5%, 0%, 8.3%, 52.5%) |
| CIE-LAB | lab(46.28, -24.98, -1.25) |
| CIE-LCH | lch(46.28, 25.01, 182.87°) |
| OKLab | oklab(52.77% -0.0733 -0.0038) |
| OKLCH | oklch(52.77% 0.073 182.9) |
| XYZ | xyz(10.9720, 15.4743, 17.4445) |
| Luminance | 0.1547 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Bluegreen
#017A79
ΔE00 4.50
Dark Aquamarine
#017371
ΔE00 4.70
Teal
#008080
ΔE00 5.43
Deep Turquoise
#017374
ΔE00 5.58
Deep Aqua
#08787F
ΔE00 7.37
Greenish Blue
#0B8B87
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31796F #79313B
analogous
#31794B #31796F #315F79
triadic
#31796F #6F3179 #796F31
tetradic
#31796F #4B3179 #79313B #5F7931
square
#31796F #4B3179 #79313B #5F7931
split-complementary
#31796F #79315F #794B31
monochromatic
#0E221F #1F4D47 #31796F #43A597 #64C0B3
Accessibility & contrast
On white
5.13
#31796F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#31796F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #31796F
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31796F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31796F | 1.00 | 5.13 | 4.10 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#74726F
Deuteranopia (green-blind)
#686A70
Tritanopia (blue-blind)
#007B76
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #31796f; /* rgb */ color: rgb(49, 121, 111); /* oklch */ color: oklch(52.8% 0.073 182.9);
Tailwind
colors: {
custom: {
50: '#71a098',
500: '#31796f',
950: '#000000',
},
}SCSS
$custom: #31796f; $custom-light: #71a098; $custom-dark: #000000;
JSON
{
"hex": "#31796f",
"rgb": {
"r": 49,
"g": 121,
"b": 111
},
"hsl": {
"h": 171.667,
"s": 42.353,
"l": 33.333
},
"oklch": {
"l": 0.52772,
"c": 0.07343,
"h": 182.9
},
"luminance": 0.15475
}Semantic roles & 50–950 ramp
primary
#31796F
secondary
#A85E68
accent
#5667D2
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0D
muted
#7B7E7E