#31712E#31712E
#31712E is a mid, moderate green. Relative luminance 0.127; OKLCH L 49.0% C 0.120 H 142.7°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #31712E |
|---|---|
| RGB | rgb(49, 113, 46) |
| HSL | hsl(117, 42%, 31%) |
| HSV | hsv(117, 59%, 44%) |
| CMYK | cmyk(56.6%, 0%, 59.3%, 55.7%) |
| CIE-LAB | lab(42.25, -35.05, 30.65) |
| CIE-LCH | lch(42.25, 46.56, 138.83°) |
| OKLab | oklab(49.03% -0.0954 0.0727) |
| OKLCH | oklch(49.03% 0.12 142.7) |
| XYZ | xyz(7.6645, 12.6598, 4.6239) |
| Luminance | 0.1266 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.05
Tree Green
#2A7E19
ΔE00 6.18
Darkgreen
#006400
ΔE00 6.74
Jungle Green
#048243
ΔE00 7.20
Darkolivegreen
#556B2F
ΔE00 7.82
Forest Green
#2D5A27
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31712E #6E2E71
analogous
#52712E #31712E #2E714C
triadic
#31712E #2E3171 #712E31
tetradic
#31712E #2E5271 #6E2E71 #714C2E
square
#31712E #2E5271 #6E2E71 #714C2E
split-complementary
#31712E #4C2E71 #712E52
monochromatic
#0B1A0B #1E461C #31712E #449C40 #61BD5D
Accessibility & contrast
On white
5.95
#31712E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#31712E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #31712E
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31712E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31712E | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736727
Deuteranopia (green-blind)
#6B6233
Tritanopia (blue-blind)
#286E62
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #31712e; /* rgb */ color: rgb(49, 113, 46); /* oklch */ color: oklch(49.0% 0.120 142.7);
Tailwind
colors: {
custom: {
50: '#709a69',
500: '#31712e',
950: '#000000',
},
}SCSS
$custom: #31712e; $custom-light: #709a69; $custom-dark: #000000;
JSON
{
"hex": "#31712e",
"rgb": {
"r": 49,
"g": 113,
"b": 46
},
"hsl": {
"h": 117.313,
"s": 42.138,
"l": 31.176
},
"oklch": {
"l": 0.49033,
"c": 0.11993,
"h": 142.7
},
"luminance": 0.1266
}Semantic roles & 50–950 ramp
primary
#31712E
secondary
#9F58A2
accent
#56D2CC
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A