#31997C#31997C
#31997C is a mid, moderate teal. Relative luminance 0.249; OKLCH L 61.6% C 0.104 H 170.6°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #31997C |
|---|---|
| RGB | rgb(49, 153, 124) |
| HSL | hsl(163, 51%, 40%) |
| HSV | hsv(163, 68%, 60%) |
| CMYK | cmyk(68%, 0%, 19%, 40%) |
| CIE-LAB | lab(56.97, -36.75, 6.68) |
| CIE-LCH | lch(56.97, 37.36, 169.70°) |
| OKLab | oklab(61.59% -0.103 0.017) |
| OKLCH | oklch(61.59% 0.104 170.6) |
| XYZ | xyz(16.2941, 24.8889, 23.0102) |
| Luminance | 0.2489 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Ocean Green
#3D9973
ΔE00 3.12
Viridian
#1E9167
ΔE00 5.11
Blue Green
#0F9B8E
ΔE00 6.04
Teal (survey)
#029386
ΔE00 6.22
Grey Teal
#5E9B8A
ΔE00 6.31
Bluish Green
#10A674
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31997C #99314E
analogous
#319948 #31997C #318299
triadic
#31997C #7C3199 #997C31
tetradic
#31997C #483199 #99314E #829931
square
#31997C #483199 #99314E #829931
split-complementary
#31997C #993182 #994831
monochromatic
#133C31 #226B56 #31997C #44C3A0 #72D2B7
Accessibility & contrast
On white
3.51
#31997C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.98
#31997C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #31997C
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31997C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31997C | 1.00 | 3.51 | 5.98 | 5.98 |
| #FFFFFF | 3.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958F7B
Deuteranopia (green-blind)
#86847E
Tritanopia (blue-blind)
#009A91
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #31997c; /* rgb */ color: rgb(49, 153, 124); /* oklch */ color: oklch(61.6% 0.104 170.6);
Tailwind
colors: {
custom: {
50: '#77b8a1',
500: '#31997c',
950: '#000000',
},
}SCSS
$custom: #31997c; $custom-light: #77b8a1; $custom-dark: #000000;
JSON
{
"hex": "#31997c",
"rgb": {
"r": 49,
"g": 153,
"b": 124
},
"hsl": {
"h": 163.269,
"s": 51.485,
"l": 39.608
},
"oklch": {
"l": 0.61593,
"c": 0.10443,
"h": 170.6
},
"luminance": 0.24891
}Semantic roles & 50–950 ramp
primary
#31997C
secondary
#BA6C82
accent
#4D74DB
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#0A110F
muted
#7C807E