#31997E#31997E
#31997E is a mid, moderate teal. Relative luminance 0.249; OKLCH L 61.7% C 0.103 H 172.0°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #31997E |
|---|---|
| RGB | rgb(49, 153, 126) |
| HSL | hsl(164, 51%, 40%) |
| HSV | hsv(164, 68%, 60%) |
| CMYK | cmyk(68%, 0%, 17.6%, 40%) |
| CIE-LAB | lab(57.02, -36.25, 5.61) |
| CIE-LCH | lch(57.02, 36.68, 171.20°) |
| OKLab | oklab(61.65% -0.1021 0.0143) |
| OKLCH | oklch(61.65% 0.103 172) |
| XYZ | xyz(16.4219, 24.9400, 23.6831) |
| Luminance | 0.2494 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Ocean Green
#3D9973
ΔE00 3.74
Blue Green
#0F9B8E
ΔE00 5.41
Teal (survey)
#029386
ΔE00 5.64
Viridian
#1E9167
ΔE00 5.65
Grey Teal
#5E9B8A
ΔE00 5.98
Dull Teal
#5F9E8F
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31997E #99314C
analogous
#31994A #31997E #318099
triadic
#31997E #7E3199 #997E31
tetradic
#31997E #4A3199 #99314C #809931
square
#31997E #4A3199 #99314C #809931
split-complementary
#31997E #993180 #994A31
monochromatic
#133C32 #226B58 #31997E #44C3A2 #72D2B9
Accessibility & contrast
On white
3.51
#31997E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.99
#31997E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #31997E
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31997E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31997E | 1.00 | 3.51 | 5.99 | 5.99 |
| #FFFFFF | 3.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948F7D
Deuteranopia (green-blind)
#868580
Tritanopia (blue-blind)
#009A91
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #31997e; /* rgb */ color: rgb(49, 153, 126); /* oklch */ color: oklch(61.7% 0.103 172.0);
Tailwind
colors: {
custom: {
50: '#77b8a3',
500: '#31997e',
950: '#000000',
},
}SCSS
$custom: #31997e; $custom-light: #77b8a3; $custom-dark: #000000;
JSON
{
"hex": "#31997e",
"rgb": {
"r": 49,
"g": 153,
"b": 126
},
"hsl": {
"h": 164.423,
"s": 51.485,
"l": 39.608
},
"oklch": {
"l": 0.61651,
"c": 0.10305,
"h": 172
},
"luminance": 0.24942
}Semantic roles & 50–950 ramp
primary
#31997E
secondary
#BA6C80
accent
#4D72DB
background
#F7FBFA
surface
#EEF6F3
border
#C9D0CD
text
#0A110F
muted
#7C807F