#31977C#31977C
#31977C is a mid, moderate teal. Relative luminance 0.242; OKLCH L 61.1% C 0.102 H 171.7°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #31977C |
|---|---|
| RGB | rgb(49, 151, 124) |
| HSL | hsl(164, 51%, 39%) |
| HSV | hsv(164, 68%, 59%) |
| CMYK | cmyk(67.5%, 0%, 17.9%, 40.8%) |
| CIE-LAB | lab(56.33, -35.85, 5.76) |
| CIE-LCH | lch(56.33, 36.31, 170.87°) |
| OKLab | oklab(61.07% -0.1009 0.0147) |
| OKLCH | oklch(61.07% 0.102 171.7) |
| XYZ | xyz(15.9695, 24.2397, 22.9020) |
| Luminance | 0.2424 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Ocean Green
#3D9973
ΔE00 3.69
Viridian
#1E9167
ΔE00 5.26
Teal (survey)
#029386
ΔE00 5.52
Blue Green
#0F9B8E
ΔE00 5.61
Grey Teal
#5E9B8A
ΔE00 6.15
Dusty Teal
#4C9085
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31977C #97314C
analogous
#319749 #31977C #317F97
triadic
#31977C #7C3197 #977C31
tetradic
#31977C #493197 #97314C #7F9731
square
#31977C #493197 #97314C #7F9731
split-complementary
#31977C #97317F #974931
monochromatic
#133B30 #226956 #31977C #43C2A0 #71D1B8
Accessibility & contrast
On white
3.59
#31977C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.85
#31977C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #31977C
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31977C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31977C | 1.00 | 3.59 | 5.85 | 5.85 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928D7B
Deuteranopia (green-blind)
#84837E
Tritanopia (blue-blind)
#00988F
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #31977c; /* rgb */ color: rgb(49, 151, 124); /* oklch */ color: oklch(61.1% 0.102 171.7);
Tailwind
colors: {
custom: {
50: '#76b6a1',
500: '#31977c',
950: '#000000',
},
}SCSS
$custom: #31977c; $custom-light: #76b6a1; $custom-dark: #000000;
JSON
{
"hex": "#31977c",
"rgb": {
"r": 49,
"g": 151,
"b": 124
},
"hsl": {
"h": 164.118,
"s": 51,
"l": 39.216
},
"oklch": {
"l": 0.61071,
"c": 0.10193,
"h": 171.7
},
"luminance": 0.24241
}Semantic roles & 50–950 ramp
primary
#31977C
secondary
#B96B80
accent
#4D73DA
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110F
muted
#7B807E