#3A841F#3A841F
#3A841F is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.6% C 0.153 H 138.9°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #3A841F |
|---|---|
| RGB | rgb(58, 132, 31) |
| HSL | hsl(104, 62%, 32%) |
| HSV | hsv(104, 77%, 52%) |
| CMYK | cmyk(56.1%, 0%, 76.5%, 48.2%) |
| CIE-LAB | lab(48.88, -41.73, 44.65) |
| CIE-LCH | lch(48.88, 61.12, 133.07°) |
| OKLab | oklab(54.55% -0.115 0.1004) |
| OKLCH | oklch(54.55% 0.153 138.9) |
| XYZ | xyz(10.2431, 17.5002, 4.1342) |
| Luminance | 0.1750 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Dark Grass Green
#388004
ΔE00 2.51
Tree Green
#2A7E19
ΔE00 2.74
Forestgreen (CSS)
#228B22
ΔE00 3.23
Green
#008000
ΔE00 4.02
Emerald Green
#028F1E
ΔE00 4.85
Avocado
#568203
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A841F #691F84
analogous
#6D841F #3A841F #1F8436
triadic
#3A841F #1F3A84 #841F3A
tetradic
#3A841F #1F6D84 #691F84 #84361F
square
#3A841F #1F6D84 #691F84 #84361F
split-complementary
#3A841F #361F84 #841F6D
monochromatic
#0E2108 #245213 #3A841F #50B62B #6ED449
Accessibility & contrast
On white
4.67
#3A841F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#3A841F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #3A841F
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A841F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A841F | 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)
#88780A
Deuteranopia (green-blind)
#7F722A
Tritanopia (blue-blind)
#337F71
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #3a841f; /* rgb */ color: rgb(58, 132, 31); /* oklch */ color: oklch(54.6% 0.153 138.9);
Tailwind
colors: {
custom: {
50: '#79a862',
500: '#3a841f',
950: '#000000',
},
}SCSS
$custom: #3a841f; $custom-light: #79a862; $custom-dark: #000000;
JSON
{
"hex": "#3a841f",
"rgb": {
"r": 58,
"g": 132,
"b": 31
},
"hsl": {
"h": 103.96,
"s": 61.963,
"l": 31.961
},
"oklch": {
"l": 0.54551,
"c": 0.1527,
"h": 138.9
},
"luminance": 0.17501
}Semantic roles & 50–950 ramp
primary
#3A841F
secondary
#9948B7
accent
#43E5BA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A