#31887E#31887E
#31887E is a mid, moderate teal. Relative luminance 0.198; OKLCH L 57.2% C 0.084 H 184.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #31887E |
|---|---|
| RGB | rgb(49, 136, 126) |
| HSL | hsl(173, 47%, 36%) |
| HSV | hsv(173, 64%, 53%) |
| CMYK | cmyk(64%, 0%, 7.4%, 46.7%) |
| CIE-LAB | lab(51.57, -28.24, -2.30) |
| CIE-LCH | lch(51.57, 28.33, 184.65°) |
| OKLab | oklab(57.22% -0.0834 -0.0066) |
| OKLCH | oklch(57.22% 0.084 184.6) |
| XYZ | xyz(13.8350, 19.7662, 22.8208) |
| Luminance | 0.1977 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Greenish Blue
#0B8B87
ΔE00 3.20
Dusty Teal
#4C9085
ΔE00 4.13
Teal (survey)
#029386
ΔE00 4.35
Darkcyan
#008B8B
ΔE00 4.55
Dark Cyan
#0A888A
ΔE00 5.09
Teal
#008080
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31887E #88313B
analogous
#318853 #31887E #316788
triadic
#31887E #7E3188 #887E31
tetradic
#31887E #533188 #88313B #678831
square
#31887E #533188 #88313B #678831
split-complementary
#31887E #883167 #885331
monochromatic
#112E2B #215B54 #31887E #41B5A8 #6AC9BE
Accessibility & contrast
On white
4.24
#31887E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#31887E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #31887E
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31887E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31887E | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81817E
Deuteranopia (green-blind)
#74777F
Tritanopia (blue-blind)
#008B85
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #31887e; /* rgb */ color: rgb(49, 136, 126); /* oklch */ color: oklch(57.2% 0.084 184.6);
Tailwind
colors: {
custom: {
50: '#74aba3',
500: '#31887e',
950: '#000000',
},
}SCSS
$custom: #31887e; $custom-light: #74aba3; $custom-dark: #000000;
JSON
{
"hex": "#31887e",
"rgb": {
"r": 49,
"g": 136,
"b": 126
},
"hsl": {
"h": 173.103,
"s": 47.027,
"l": 36.275
},
"oklch": {
"l": 0.57215,
"c": 0.08362,
"h": 184.6
},
"luminance": 0.19768
}Semantic roles & 50–950 ramp
primary
#31887E
secondary
#B1646D
accent
#5160D7
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#09100F
muted
#7B7F7F