#31671E#31671E
#31671E is a mid, moderate green. Relative luminance 0.104; OKLCH L 46.0% C 0.120 H 138.7°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #31671E |
|---|---|
| RGB | rgb(49, 103, 30) |
| HSL | hsl(104, 55%, 26%) |
| HSV | hsv(104, 71%, 40%) |
| CMYK | cmyk(52.4%, 0%, 70.9%, 59.6%) |
| CIE-LAB | lab(38.63, -32.59, 34.40) |
| CIE-LCH | lch(38.63, 47.39, 133.45°) |
| OKLab | oklab(46.01% -0.0898 0.0789) |
| OKLCH | oklch(46.01% 0.12 138.7) |
| XYZ | xyz(6.3510, 10.4467, 2.9098) |
| Luminance | 0.1045 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.45
Forest Green
#2D5A27
ΔE00 5.66
Deep Green
#02590F
ΔE00 5.92
Forest
#0B5509
ΔE00 6.60
Camouflage Green
#4B6113
ΔE00 7.03
Darkolivegreen
#556B2F
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31671E #541E67
analogous
#55671E #31671E #1E672F
triadic
#31671E #1E3167 #671E31
tetradic
#31671E #1E5567 #541E67 #672F1E
square
#31671E #1E5567 #541E67 #672F1E
split-complementary
#31671E #2F1E67 #671E55
monochromatic
#0B1807 #1A3810 #31671E #48962C #5EC63A
Accessibility & contrast
On white
6.80
#31671E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#31671E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #31671E
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31671E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31671E | 1.00 | 6.80 | 3.09 | 6.80 |
| #FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5E14
Deuteranopia (green-blind)
#635924
Tritanopia (blue-blind)
#2D6358
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #31671e; /* rgb */ color: rgb(49, 103, 30); /* oklch */ color: oklch(46.0% 0.120 138.7);
Tailwind
colors: {
custom: {
50: '#6f935e',
500: '#31671e',
950: '#000000',
},
}SCSS
$custom: #31671e; $custom-light: #6f935e; $custom-dark: #000000;
JSON
{
"hex": "#31671e",
"rgb": {
"r": 49,
"g": 103,
"b": 30
},
"hsl": {
"h": 104.384,
"s": 54.887,
"l": 26.078
},
"oklch": {
"l": 0.46007,
"c": 0.11953,
"h": 138.7
},
"luminance": 0.10447
}Semantic roles & 50–950 ramp
primary
#31671E
secondary
#85459C
accent
#4ADEB8
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79