#31917E#31917E
#31917E is a mid, moderate teal. Relative luminance 0.224; OKLCH L 59.6% C 0.093 H 177.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #31917E |
|---|---|
| RGB | rgb(49, 145, 126) |
| HSL | hsl(168, 49%, 38%) |
| HSV | hsv(168, 66%, 57%) |
| CMYK | cmyk(66.2%, 0%, 13.1%, 43.1%) |
| CIE-LAB | lab(54.46, -32.56, 1.92) |
| CIE-LCH | lch(54.46, 32.62, 176.63°) |
| OKLab | oklab(59.56% -0.0933 0.0046) |
| OKLCH | oklch(59.56% 0.093 177.2) |
| XYZ | xyz(15.1561, 22.4085, 23.2611) |
| Luminance | 0.2241 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Teal (survey)
#029386
ΔE00 3.17
Dusty Teal
#4C9085
ΔE00 4.20
Blue Green
#0F9B8E
ΔE00 4.49
Sea
#3C9992
ΔE00 5.68
Grey Teal
#5E9B8A
ΔE00 6.21
Greenish Blue
#0B8B87
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31917E #913144
analogous
#31914E #31917E #317491
triadic
#31917E #7E3191 #917E31
tetradic
#31917E #4E3191 #913144 #749131
square
#31917E #4E3191 #913144 #749131
split-complementary
#31917E #913174 #914E31
monochromatic
#12362F #226356 #31917E #41BFA6 #6ECEBB
Accessibility & contrast
On white
3.83
#31917E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.48
#31917E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #31917E
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31917E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31917E | 1.00 | 3.83 | 5.48 | 5.48 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B887D
Deuteranopia (green-blind)
#7E7E7F
Tritanopia (blue-blind)
#00938B
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #31917e; /* rgb */ color: rgb(49, 145, 126); /* oklch */ color: oklch(59.6% 0.093 177.2);
Tailwind
colors: {
custom: {
50: '#75b2a3',
500: '#31917e',
950: '#000000',
},
}SCSS
$custom: #31917e; $custom-light: #75b2a3; $custom-dark: #000000;
JSON
{
"hex": "#31917e",
"rgb": {
"r": 49,
"g": 145,
"b": 126
},
"hsl": {
"h": 168.125,
"s": 49.485,
"l": 38.039
},
"oklch": {
"l": 0.59563,
"c": 0.09346,
"h": 177.2
},
"luminance": 0.2241
}Semantic roles & 50–950 ramp
primary
#31917E
secondary
#B66877
accent
#4F6AD9
background
#F7FBFA
surface
#EEF6F3
border
#C9D0CD
text
#09110F
muted
#7B807F