#31977F#31977F
#31977F is a mid, moderate teal. Relative luminance 0.243; OKLCH L 61.2% C 0.100 H 174.0°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #31977F |
|---|---|
| RGB | rgb(49, 151, 127) |
| HSL | hsl(166, 51%, 39%) |
| HSV | hsv(166, 68%, 59%) |
| CMYK | cmyk(67.5%, 0%, 15.9%, 40.8%) |
| CIE-LAB | lab(56.40, -35.08, 4.16) |
| CIE-LCH | lch(56.40, 35.32, 173.24°) |
| OKLab | oklab(61.16% -0.0994 0.0105) |
| OKLCH | oklch(61.16% 0.1 174) |
| XYZ | xyz(16.1621, 24.3167, 23.9164) |
| Luminance | 0.2432 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Teal (survey)
#029386
ΔE00 4.62
Ocean Green
#3D9973
ΔE00 4.65
Blue Green
#0F9B8E
ΔE00 4.66
Grey Teal
#5E9B8A
ΔE00 5.74
Dusty Teal
#4C9085
ΔE00 5.75
Viridian
#1E9167
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31977F #973149
analogous
#31974C #31977F #317C97
triadic
#31977F #7F3197 #977F31
tetradic
#31977F #4C3197 #973149 #7C9731
square
#31977F #4C3197 #973149 #7C9731
split-complementary
#31977F #97317C #974C31
monochromatic
#133B31 #226958 #31977F #43C2A4 #71D1BB
Accessibility & contrast
On white
3.58
#31977F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.86
#31977F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #31977F
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31977F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31977F | 1.00 | 3.58 | 5.86 | 5.86 |
| #FFFFFF | 3.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928D7E
Deuteranopia (green-blind)
#848381
Tritanopia (blue-blind)
#009990
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #31977f; /* rgb */ color: rgb(49, 151, 127); /* oklch */ color: oklch(61.2% 0.100 174.0);
Tailwind
colors: {
custom: {
50: '#76b6a4',
500: '#31977f',
950: '#000000',
},
}SCSS
$custom: #31977f; $custom-light: #76b6a4; $custom-dark: #000000;
JSON
{
"hex": "#31977f",
"rgb": {
"r": 49,
"g": 151,
"b": 127
},
"hsl": {
"h": 165.882,
"s": 51,
"l": 39.216
},
"oklch": {
"l": 0.61158,
"c": 0.09996,
"h": 174
},
"luminance": 0.24318
}Semantic roles & 50–950 ramp
primary
#31977F
secondary
#B96B7D
accent
#4D6FDA
background
#F7FBFA
surface
#EEF6F4
border
#C9D0CE
text
#0A110F
muted
#7C807F