#3A871E#3A871E
#3A871E is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.4% C 0.157 H 139.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #3A871E |
|---|---|
| RGB | rgb(58, 135, 30) |
| HSL | hsl(104, 64%, 32%) |
| HSV | hsv(104, 78%, 53%) |
| CMYK | cmyk(57%, 0%, 77.8%, 47.1%) |
| CIE-LAB | lab(49.88, -42.98, 46.00) |
| CIE-LCH | lch(49.88, 62.95, 133.06°) |
| OKLab | oklab(55.37% -0.1184 0.1031) |
| OKLCH | oklch(55.37% 0.157 139) |
| XYZ | xyz(10.6428, 18.3203, 4.2034) |
| Luminance | 0.1832 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.63
Dark Grass Green
#388004
ΔE00 3.07
Tree Green
#2A7E19
ΔE00 3.68
Emerald Green
#028F1E
ΔE00 4.11
Green
#008000
ΔE00 4.48
True Green
#089404
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A871E #6B1E87
analogous
#6F871E #3A871E #1E8737
triadic
#3A871E #1E3A87 #871E3A
tetradic
#3A871E #1E6F87 #6B1E87 #87371E
square
#3A871E #1E6F87 #6B1E87 #87371E
split-complementary
#3A871E #371E87 #871E6F
monochromatic
#0F2308 #245513 #3A871E #50B929 #6FD749
Accessibility & contrast
On white
4.50
#3A871E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#3A871E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #3A871E
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A871E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##3A871E | 1.00 | 4.50 | 4.66 | 4.66 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B06
Deuteranopia (green-blind)
#817429
Tritanopia (blue-blind)
#328273
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #3a871e; /* rgb */ color: rgb(58, 135, 30); /* oklch */ color: oklch(55.4% 0.157 139.0);
Tailwind
colors: {
custom: {
50: '#79ab62',
500: '#3a871e',
950: '#000000',
},
}SCSS
$custom: #3a871e; $custom-light: #79ab62; $custom-dark: #000000;
JSON
{
"hex": "#3a871e",
"rgb": {
"r": 58,
"g": 135,
"b": 30
},
"hsl": {
"h": 104,
"s": 63.636,
"l": 32.353
},
"oklch": {
"l": 0.55372,
"c": 0.15702,
"h": 139
},
"luminance": 0.18321
}Semantic roles & 50–950 ramp
primary
#3A871E
secondary
#9B48B9
accent
#41E7BB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A