#3A7920#3A7920
#3A7920 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.5% C 0.138 H 138.2°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #3A7920 |
|---|---|
| RGB | rgb(58, 121, 32) |
| HSL | hsl(102, 58%, 30%) |
| HSV | hsv(102, 74%, 47%) |
| CMYK | cmyk(52.1%, 0%, 73.6%, 52.5%) |
| CIE-LAB | lab(45.19, -37.19, 40.52) |
| CIE-LCH | lch(45.19, 55.00, 132.54°) |
| OKLab | oklab(51.51% -0.1027 0.0919) |
| OKLCH | oklch(51.51% 0.138 138.2) |
| XYZ | xyz(8.8427, 14.6779, 3.7334) |
| Luminance | 0.1468 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.56
Dark Grass Green
#388004
ΔE00 3.79
Green
#008000
ΔE00 4.79
Darkish Green
#287C37
ΔE00 4.99
Forestgreen (CSS)
#228B22
ΔE00 6.70
Avocado
#568203
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A7920 #5F2079
analogous
#667920 #3A7920 #207933
triadic
#3A7920 #203A79 #79203A
tetradic
#3A7920 #206679 #5F2079 #793320
square
#3A7920 #206679 #5F2079 #793320
split-complementary
#3A7920 #332079 #792066
monochromatic
#0C1806 #234913 #3A7920 #51A92D #6DCE45
Accessibility & contrast
On white
5.34
#3A7920 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#3A7920 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A7920
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A7920 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A7920 | 1.00 | 5.34 | 3.94 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D6E12
Deuteranopia (green-blind)
#756929
Tritanopia (blue-blind)
#357567
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #3a7920; /* rgb */ color: rgb(58, 121, 32); /* oklch */ color: oklch(51.5% 0.138 138.2);
Tailwind
colors: {
custom: {
50: '#77a061',
500: '#3a7920',
950: '#000000',
},
}SCSS
$custom: #3a7920; $custom-light: #77a061; $custom-dark: #000000;
JSON
{
"hex": "#3a7920",
"rgb": {
"r": 58,
"g": 121,
"b": 32
},
"hsl": {
"h": 102.472,
"s": 58.17,
"l": 30
},
"oklch": {
"l": 0.5151,
"c": 0.13784,
"h": 138.2
},
"luminance": 0.14679
}Semantic roles & 50–950 ramp
primary
#3A7920
secondary
#8F49AC
accent
#46E1B4
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#090F05
muted
#7B7E79