#3A841A#3A841A
#3A841A is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.5% C 0.156 H 138.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #3A841A |
|---|---|
| RGB | rgb(58, 132, 26) |
| HSL | hsl(102, 67%, 31%) |
| HSV | hsv(102, 80%, 52%) |
| CMYK | cmyk(56.1%, 0%, 80.3%, 48.2%) |
| CIE-LAB | lab(48.85, -42.07, 46.38) |
| CIE-LCH | lch(48.85, 62.62, 132.21°) |
| OKLab | oklab(54.52% -0.1163 0.1033) |
| OKLCH | oklch(54.52% 0.156 138.4) |
| XYZ | xyz(10.1823, 17.4758, 3.8137) |
| Luminance | 0.1748 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Dark Grass Green
#388004
ΔE00 2.06
Tree Green
#2A7E19
ΔE00 2.87
Forestgreen (CSS)
#228B22
ΔE00 3.42
Green
#008000
ΔE00 3.94
Emerald Green
#028F1E
ΔE00 4.95
Avocado
#568203
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A841A #641A84
analogous
#6F841A #3A841A #1A842F
triadic
#3A841A #1A3A84 #841A3A
tetradic
#3A841A #1A6F84 #641A84 #842F1A
square
#3A841A #1A6F84 #641A84 #842F1A
split-complementary
#3A841A #2F1A84 #841A6F
monochromatic
#0D1E06 #245110 #3A841A #50B724 #6ED93F
Accessibility & contrast
On white
4.67
#3A841A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#3A841A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #3A841A
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A841A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A841A | 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)
#887800
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#337F70
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #3a841a; /* rgb */ color: rgb(58, 132, 26); /* oklch */ color: oklch(54.5% 0.156 138.4);
Tailwind
colors: {
custom: {
50: '#79a860',
500: '#3a841a',
950: '#000000',
},
}SCSS
$custom: #3a841a; $custom-light: #79a860; $custom-dark: #000000;
JSON
{
"hex": "#3a841a",
"rgb": {
"r": 58,
"g": 132,
"b": 26
},
"hsl": {
"h": 101.887,
"s": 67.089,
"l": 30.98
},
"oklch": {
"l": 0.54516,
"c": 0.15551,
"h": 138.4
},
"luminance": 0.17477
}Semantic roles & 50–950 ramp
primary
#3A841A
secondary
#9442B8
accent
#3EEAB6
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79