#31875C#31875C
#31875C is a mid, moderate teal. Relative luminance 0.188; OKLCH L 56.0% C 0.107 H 158.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #31875C |
|---|---|
| RGB | rgb(49, 135, 92) |
| HSL | hsl(150, 47%, 36%) |
| HSV | hsv(150, 64%, 53%) |
| CMYK | cmyk(63.7%, 0%, 31.9%, 47.1%) |
| CIE-LAB | lab(50.40, -36.33, 15.70) |
| CIE-LCH | lch(50.40, 39.57, 156.63°) |
| OKLab | oklab(55.97% -0.099 0.0398) |
| OKLCH | oklch(55.97% 0.107 158.1) |
| XYZ | xyz(11.8613, 18.7524, 13.1176) |
| Luminance | 0.1875 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Dark Sea Green
#11875D
ΔE00 2.21
Sea Green
#2E8B57
ΔE00 2.45
Viridian
#1E9167
ΔE00 3.92
Jungle Green
#048243
ΔE00 5.63
Dark Sage
#598556
ΔE00 6.47
Ocean Green
#3D9973
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31875C #87315C
analogous
#318731 #31875C #318787
triadic
#31875C #5C3187 #875C31
tetradic
#31875C #313187 #87315C #878731
square
#31875C #313187 #87315C #878731
split-complementary
#31875C #873187 #873131
monochromatic
#102D1F #215A3D #31875C #41B47B #6AC999
Accessibility & contrast
On white
4.42
#31875C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#31875C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #31875C
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31875C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31875C | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867D59
Deuteranopia (green-blind)
#7A755F
Tritanopia (blue-blind)
#03867C
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #31875c; /* rgb */ color: rgb(49, 135, 92); /* oklch */ color: oklch(56.0% 0.107 158.1);
Tailwind
colors: {
custom: {
50: '#73ab8a',
500: '#31875c',
950: '#000000',
},
}SCSS
$custom: #31875c; $custom-light: #73ab8a; $custom-dark: #000000;
JSON
{
"hex": "#31875c",
"rgb": {
"r": 49,
"g": 135,
"b": 92
},
"hsl": {
"h": 150,
"s": 46.739,
"l": 36.078
},
"oklch": {
"l": 0.55975,
"c": 0.1067,
"h": 158.1
},
"luminance": 0.18754
}Semantic roles & 50–950 ramp
primary
#31875C
secondary
#B0648A
accent
#5194D6
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#09100B
muted
#7B7F7C