#3D871F#3D871F
#3D871F is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.5% C 0.155 H 138.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #3D871F |
|---|---|
| RGB | rgb(61, 135, 31) |
| HSL | hsl(103, 63%, 33%) |
| HSV | hsv(103, 77%, 53%) |
| CMYK | cmyk(54.8%, 0%, 77%, 47.1%) |
| CIE-LAB | lab(50.00, -42.04, 45.79) |
| CIE-LCH | lch(50.00, 62.16, 132.56°) |
| OKLab | oklab(55.5% -0.1161 0.1028) |
| OKLCH | oklch(55.5% 0.155 138.5) |
| XYZ | xyz(10.8354, 18.4181, 4.2801) |
| Luminance | 0.1842 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.90
Dark Grass Green
#388004
ΔE00 3.10
Tree Green
#2A7E19
ΔE00 3.86
Emerald Green
#028F1E
ΔE00 4.36
Green
#008000
ΔE00 4.77
True Green
#089404
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D871F #691F87
analogous
#71871F #3D871F #1F8735
triadic
#3D871F #1F3D87 #871F3D
tetradic
#3D871F #1F7187 #691F87 #87351F
square
#3D871F #1F7187 #691F87 #87351F
split-complementary
#3D871F #351F87 #871F71
monochromatic
#102308 #275514 #3D871F #53B92A #73D64B
Accessibility & contrast
On white
4.48
#3D871F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#3D871F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #3D871F
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D871F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##3D871F | 1.00 | 4.48 | 4.68 | 4.68 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B08
Deuteranopia (green-blind)
#82752A
Tritanopia (blue-blind)
#378273
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #3d871f; /* rgb */ color: rgb(61, 135, 31); /* oklch */ color: oklch(55.5% 0.155 138.5);
Tailwind
colors: {
custom: {
50: '#7bab63',
500: '#3d871f',
950: '#000000',
},
}SCSS
$custom: #3d871f; $custom-light: #7bab63; $custom-dark: #000000;
JSON
{
"hex": "#3d871f",
"rgb": {
"r": 61,
"g": 135,
"b": 31
},
"hsl": {
"h": 102.692,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.55502,
"c": 0.15501,
"h": 138.5
},
"luminance": 0.18419
}Semantic roles & 50–950 ramp
primary
#3D871F
secondary
#984AB8
accent
#42E6B7
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A