#3A7E2A#3A7E2A
#3A7E2A is a mid, vivid green. Relative luminance 0.160; OKLCH L 53.0% C 0.137 H 140.0°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #3A7E2A |
|---|---|
| RGB | rgb(58, 126, 42) |
| HSL | hsl(109, 50%, 33%) |
| HSV | hsv(109, 67%, 49%) |
| CMYK | cmyk(54%, 0%, 66.7%, 50.6%) |
| CIE-LAB | lab(46.96, -38.33, 38.05) |
| CIE-LCH | lch(46.96, 54.01, 135.21°) |
| OKLab | oklab(52.99% -0.1051 0.0881) |
| OKLCH | oklch(52.99% 0.137 140) |
| XYZ | xyz(9.6233, 15.9877, 4.7689) |
| Luminance | 0.1599 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.40
Darkish Green
#287C37
ΔE00 3.87
Dark Grass Green
#388004
ΔE00 4.09
Green
#008000
ΔE00 4.73
Forestgreen (CSS)
#228B22
ΔE00 5.16
Fern Green
#548D44
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A7E2A #6E2A7E
analogous
#647E2A #3A7E2A #2A7E44
triadic
#3A7E2A #2A3A7E #7E2A3A
tetradic
#3A7E2A #2A647E #6E2A7E #7E442A
square
#3A7E2A #2A647E #6E2A7E #7E442A
split-complementary
#3A7E2A #442A7E #7E2A64
monochromatic
#10220B #25501B #3A7E2A #4FAC39 #6FC85A
Accessibility & contrast
On white
5.00
#3A7E2A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#3A7E2A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A7E2A
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A7E2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A7E2A | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817320
Deuteranopia (green-blind)
#796D31
Tritanopia (blue-blind)
#337A6D
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #3a7e2a; /* rgb */ color: rgb(58, 126, 42); /* oklch */ color: oklch(53.0% 0.137 140.0);
Tailwind
colors: {
custom: {
50: '#77a467',
500: '#3a7e2a',
950: '#000000',
},
}SCSS
$custom: #3a7e2a; $custom-light: #77a467; $custom-dark: #000000;
JSON
{
"hex": "#3a7e2a",
"rgb": {
"r": 58,
"g": 126,
"b": 42
},
"hsl": {
"h": 108.571,
"s": 50,
"l": 32.941
},
"oklch": {
"l": 0.52992,
"c": 0.13711,
"h": 140
},
"luminance": 0.15988
}Semantic roles & 50–950 ramp
primary
#3A7E2A
secondary
#9D56AE
accent
#4EDABF
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A