#31875E#31875E
#31875E is a mid, moderate teal. Relative luminance 0.188; OKLCH L 56.0% C 0.105 H 159.3°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #31875E |
|---|---|
| RGB | rgb(49, 135, 94) |
| HSL | hsl(151, 47%, 36%) |
| HSV | hsv(151, 64%, 53%) |
| CMYK | cmyk(63.7%, 0%, 30.4%, 47.1%) |
| CIE-LAB | lab(50.44, -35.89, 14.61) |
| CIE-LCH | lch(50.44, 38.75, 157.85°) |
| OKLab | oklab(56.02% -0.098 0.0371) |
| OKLCH | oklch(56.02% 0.105 159.3) |
| XYZ | xyz(11.9499, 18.7879, 13.5842) |
| Luminance | 0.1879 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Dark Sea Green
#11875D
ΔE00 2.10
Sea Green
#2E8B57
ΔE00 2.92
Viridian
#1E9167
ΔE00 3.77
Jungle Green
#048243
ΔE00 6.10
Ocean Green
#3D9973
ΔE00 6.60
Dark Sage
#598556
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31875E #87315A
analogous
#318733 #31875E #318587
triadic
#31875E #5E3187 #875E31
tetradic
#31875E #333187 #87315A #858731
square
#31875E #333187 #87315A #858731
split-complementary
#31875E #873185 #873331
monochromatic
#102D1F #215A3F #31875E #41B47D #6AC99B
Accessibility & contrast
On white
4.41
#31875E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#31875E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #31875E
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31875E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31875E | 1.00 | 4.41 | 4.76 | 4.76 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867D5C
Deuteranopia (green-blind)
#7A7561
Tritanopia (blue-blind)
#00867C
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #31875e; /* rgb */ color: rgb(49, 135, 94); /* oklch */ color: oklch(56.0% 0.105 159.3);
Tailwind
colors: {
custom: {
50: '#73ab8b',
500: '#31875e',
950: '#000000',
},
}SCSS
$custom: #31875e; $custom-light: #73ab8b; $custom-dark: #000000;
JSON
{
"hex": "#31875e",
"rgb": {
"r": 49,
"g": 135,
"b": 94
},
"hsl": {
"h": 151.395,
"s": 46.739,
"l": 36.078
},
"oklch": {
"l": 0.56023,
"c": 0.10481,
"h": 159.3
},
"luminance": 0.18789
}Semantic roles & 50–950 ramp
primary
#31875E
secondary
#B06488
accent
#5191D6
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#09100C
muted
#7B7F7D