#31711F#31711F
#31711F is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.9% C 0.132 H 139.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #31711F |
|---|---|
| RGB | rgb(49, 113, 31) |
| HSL | hsl(107, 57%, 28%) |
| HSV | hsv(107, 73%, 44%) |
| CMYK | cmyk(56.6%, 0%, 72.6%, 55.7%) |
| CIE-LAB | lab(42.10, -36.73, 37.62) |
| CIE-LCH | lch(42.10, 52.58, 134.31°) |
| OKLab | oklab(48.86% -0.1009 0.0858) |
| OKLCH | oklch(48.86% 0.132 139.6) |
| XYZ | xyz(7.4188, 12.5616, 3.3297) |
| Luminance | 0.1256 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.79
Darkish Green
#287C37
ΔE00 5.29
Darkgreen
#006400
ΔE00 5.62
Green
#008000
ΔE00 6.43
Dark Grass Green
#388004
ΔE00 6.47
Darkolivegreen
#556B2F
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31711F #5F1F71
analogous
#5A711F #31711F #1F7136
triadic
#31711F #1F3171 #711F31
tetradic
#31711F #1F5A71 #5F1F71 #71361F
square
#31711F #1F5A71 #5F1F71 #71361F
split-complementary
#31711F #361F71 #711F5A
monochromatic
#0A1807 #1C4112 #31711F #46A12C #5ECB40
Accessibility & contrast
On white
5.98
#31711F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#31711F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #31711F
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31711F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31711F | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746713
Deuteranopia (green-blind)
#6C6127
Tritanopia (blue-blind)
#2A6D61
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #31711f; /* rgb */ color: rgb(49, 113, 31); /* oklch */ color: oklch(48.9% 0.132 139.6);
Tailwind
colors: {
custom: {
50: '#709a60',
500: '#31711f',
950: '#000000',
},
}SCSS
$custom: #31711f; $custom-light: #709a60; $custom-dark: #000000;
JSON
{
"hex": "#31711f",
"rgb": {
"r": 49,
"g": 113,
"b": 31
},
"hsl": {
"h": 106.829,
"s": 56.944,
"l": 28.235
},
"oklch": {
"l": 0.4886,
"c": 0.13246,
"h": 139.6
},
"luminance": 0.12562
}Semantic roles & 50–950 ramp
primary
#31711F
secondary
#9047A5
accent
#48E0BF
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79