#3A7E1B#3A7E1B
#3A7E1B is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.9% C 0.147 H 138.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #3A7E1B |
|---|---|
| RGB | rgb(58, 126, 27) |
| HSL | hsl(101, 65%, 30%) |
| HSV | hsv(101, 79%, 49%) |
| CMYK | cmyk(54%, 0%, 78.6%, 50.6%) |
| CIE-LAB | lab(46.84, -39.62, 44.10) |
| CIE-LCH | lch(46.84, 59.28, 131.94°) |
| OKLab | oklab(52.86% -0.1096 0.0987) |
| OKLCH | oklch(52.86% 0.147 138) |
| XYZ | xyz(9.4033, 15.8997, 3.6101) |
| Luminance | 0.1590 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.78
Dark Grass Green
#388004
ΔE00 2.04
Green
#008000
ΔE00 3.81
Forestgreen (CSS)
#228B22
ΔE00 5.09
Darkish Green
#287C37
ΔE00 5.79
Avocado
#568203
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A7E1B #5F1B7E
analogous
#6C7E1B #3A7E1B #1B7E2D
triadic
#3A7E1B #1B3A7E #7E1B3A
tetradic
#3A7E1B #1B6C7E #5F1B7E #7E2D1B
square
#3A7E1B #1B6C7E #5F1B7E #7E2D1B
split-complementary
#3A7E1B #2D1B7E #7E1B6C
monochromatic
#0C1905 #234C10 #3A7E1B #51B026 #6DD63E
Accessibility & contrast
On white
5.02
#3A7E1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#3A7E1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A7E1B
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A7E1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A7E1B | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827304
Deuteranopia (green-blind)
#796D26
Tritanopia (blue-blind)
#35796B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #3a7e1b; /* rgb */ color: rgb(58, 126, 27); /* oklch */ color: oklch(52.9% 0.147 138.0);
Tailwind
colors: {
custom: {
50: '#78a45f',
500: '#3a7e1b',
950: '#000000',
},
}SCSS
$custom: #3a7e1b; $custom-light: #78a45f; $custom-dark: #000000;
JSON
{
"hex": "#3a7e1b",
"rgb": {
"r": 58,
"g": 126,
"b": 27
},
"hsl": {
"h": 101.212,
"s": 64.706,
"l": 30
},
"oklch": {
"l": 0.5286,
"c": 0.14747,
"h": 138
},
"luminance": 0.159
}Semantic roles & 50–950 ramp
primary
#3A7E1B
secondary
#8F43B2
accent
#40E8B3
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79