#3A841E#3A841E
#3A841E is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.5% C 0.153 H 138.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #3A841E |
|---|---|
| RGB | rgb(58, 132, 30) |
| HSL | hsl(104, 63%, 32%) |
| HSV | hsv(104, 77%, 52%) |
| CMYK | cmyk(56.1%, 0%, 77.3%, 48.2%) |
| CIE-LAB | lab(48.88, -41.81, 45.01) |
| CIE-LCH | lch(48.88, 61.43, 132.89°) |
| OKLab | oklab(54.54% -0.1153 0.101) |
| OKLCH | oklch(54.54% 0.153 138.8) |
| XYZ | xyz(10.2301, 17.4950, 4.0658) |
| Luminance | 0.1750 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Dark Grass Green
#388004
ΔE00 2.41
Tree Green
#2A7E19
ΔE00 2.76
Forestgreen (CSS)
#228B22
ΔE00 3.26
Green
#008000
ΔE00 4.00
Emerald Green
#028F1E
ΔE00 4.86
Avocado
#568203
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A841E #681E84
analogous
#6D841E #3A841E #1E8435
triadic
#3A841E #1E3A84 #841E3A
tetradic
#3A841E #1E6D84 #681E84 #84351E
square
#3A841E #1E6D84 #681E84 #84351E
split-complementary
#3A841E #351E84 #841E6D
monochromatic
#0E2007 #245213 #3A841E #50B629 #6ED547
Accessibility & contrast
On white
4.67
#3A841E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#3A841E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #3A841E
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A841E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A841E | 1.00 | 4.67 | 4.50 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887808
Deuteranopia (green-blind)
#7F7229
Tritanopia (blue-blind)
#337F71
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #3a841e; /* rgb */ color: rgb(58, 132, 30); /* oklch */ color: oklch(54.5% 0.153 138.8);
Tailwind
colors: {
custom: {
50: '#79a862',
500: '#3a841e',
950: '#000000',
},
}SCSS
$custom: #3a841e; $custom-light: #79a862; $custom-dark: #000000;
JSON
{
"hex": "#3a841e",
"rgb": {
"r": 58,
"g": 132,
"b": 30
},
"hsl": {
"h": 103.529,
"s": 62.963,
"l": 31.765
},
"oklch": {
"l": 0.54544,
"c": 0.15329,
"h": 138.8
},
"luminance": 0.17496
}Semantic roles & 50–950 ramp
primary
#3A841E
secondary
#9847B7
accent
#42E6B9
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A