#31917F#31917F
#31917F is a mid, moderate teal. Relative luminance 0.224; OKLCH L 59.6% C 0.093 H 178.1°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #31917F |
|---|---|
| RGB | rgb(49, 145, 127) |
| HSL | hsl(169, 49%, 38%) |
| HSV | hsv(169, 66%, 57%) |
| CMYK | cmyk(66.2%, 0%, 12.4%, 43.1%) |
| CIE-LAB | lab(54.48, -32.29, 1.38) |
| CIE-LCH | lch(54.48, 32.32, 177.55°) |
| OKLab | oklab(59.59% -0.0929 0.0032) |
| OKLCH | oklch(59.59% 0.093 178.1) |
| XYZ | xyz(15.2210, 22.4344, 23.6027) |
| Luminance | 0.2244 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Teal (survey)
#029386
ΔE00 2.90
Dusty Teal
#4C9085
ΔE00 3.96
Blue Green
#0F9B8E
ΔE00 4.27
Sea
#3C9992
ΔE00 5.37
Greenish Blue
#0B8B87
ΔE00 5.99
Grey Teal
#5E9B8A
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31917F #913143
analogous
#31914F #31917F #317391
triadic
#31917F #7F3191 #917F31
tetradic
#31917F #4F3191 #913143 #739131
square
#31917F #4F3191 #913143 #739131
split-complementary
#31917F #913173 #914F31
monochromatic
#12362F #226357 #31917F #41BFA7 #6ECEBC
Accessibility & contrast
On white
3.83
#31917F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.49
#31917F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #31917F
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31917F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31917F | 1.00 | 3.83 | 5.49 | 5.49 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B887E
Deuteranopia (green-blind)
#7D7E80
Tritanopia (blue-blind)
#00938C
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #31917f; /* rgb */ color: rgb(49, 145, 127); /* oklch */ color: oklch(59.6% 0.093 178.1);
Tailwind
colors: {
custom: {
50: '#75b2a4',
500: '#31917f',
950: '#000000',
},
}SCSS
$custom: #31917f; $custom-light: #75b2a4; $custom-dark: #000000;
JSON
{
"hex": "#31917f",
"rgb": {
"r": 49,
"g": 145,
"b": 127
},
"hsl": {
"h": 168.75,
"s": 49.485,
"l": 38.039
},
"oklch": {
"l": 0.59594,
"c": 0.09292,
"h": 178.1
},
"luminance": 0.22436
}Semantic roles & 50–950 ramp
primary
#31917F
secondary
#B66877
accent
#4F69D9
background
#F7FBFA
surface
#EEF6F4
border
#C9D0CE
text
#09110F
muted
#7B807F