#3A841B#3A841B
#3A841B is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.5% C 0.155 H 138.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #3A841B |
|---|---|
| RGB | rgb(58, 132, 27) |
| HSL | hsl(102, 66%, 31%) |
| HSV | hsv(102, 80%, 52%) |
| CMYK | cmyk(56.1%, 0%, 79.5%, 48.2%) |
| CIE-LAB | lab(48.86, -42.01, 46.05) |
| CIE-LCH | lch(48.86, 62.33, 132.37°) |
| OKLab | oklab(54.52% -0.116 0.1027) |
| OKLCH | oklch(54.52% 0.155 138.5) |
| XYZ | xyz(10.1936, 17.4804, 3.8736) |
| Luminance | 0.1748 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Dark Grass Green
#388004
ΔE00 2.14
Tree Green
#2A7E19
ΔE00 2.83
Forestgreen (CSS)
#228B22
ΔE00 3.38
Green
#008000
ΔE00 3.95
Emerald Green
#028F1E
ΔE00 4.92
Avocado
#568203
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A841B #651B84
analogous
#6E841B #3A841B #1B8430
triadic
#3A841B #1B3A84 #841B3A
tetradic
#3A841B #1B6E84 #651B84 #84301B
square
#3A841B #1B6E84 #651B84 #84301B
split-complementary
#3A841B #301B84 #841B6E
monochromatic
#0D1E06 #245111 #3A841B #50B725 #6ED841
Accessibility & contrast
On white
4.67
#3A841B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#3A841B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #3A841B
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A841B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A841B | 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)
#887801
Deuteranopia (green-blind)
#7F7227
Tritanopia (blue-blind)
#337F70
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #3a841b; /* rgb */ color: rgb(58, 132, 27); /* oklch */ color: oklch(54.5% 0.155 138.5);
Tailwind
colors: {
custom: {
50: '#79a860',
500: '#3a841b',
950: '#000000',
},
}SCSS
$custom: #3a841b; $custom-light: #79a860; $custom-dark: #000000;
JSON
{
"hex": "#3a841b",
"rgb": {
"r": 58,
"g": 132,
"b": 27
},
"hsl": {
"h": 102.286,
"s": 66.038,
"l": 31.176
},
"oklch": {
"l": 0.54523,
"c": 0.15498,
"h": 138.5
},
"luminance": 0.17481
}Semantic roles & 50–950 ramp
primary
#3A841B
secondary
#9543B7
accent
#3FE9B7
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79