#3A7D1B#3A7D1B
#3A7D1B is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.6% C 0.146 H 137.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #3A7D1B |
|---|---|
| RGB | rgb(58, 125, 27) |
| HSL | hsl(101, 64%, 30%) |
| HSV | hsv(101, 78%, 49%) |
| CMYK | cmyk(53.6%, 0%, 78.4%, 51%) |
| CIE-LAB | lab(46.51, -39.22, 43.77) |
| CIE-LCH | lch(46.51, 58.77, 131.86°) |
| OKLab | oklab(52.58% -0.1085 0.098) |
| OKLCH | oklch(52.58% 0.146 137.9) |
| XYZ | xyz(9.2760, 15.6452, 3.5677) |
| Luminance | 0.1565 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.81
Dark Grass Green
#388004
ΔE00 2.23
Green
#008000
ΔE00 3.91
Forestgreen (CSS)
#228B22
ΔE00 5.41
Darkish Green
#287C37
ΔE00 5.71
Avocado
#568203
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A7D1B #5E1B7D
analogous
#6B7D1B #3A7D1B #1B7D2D
triadic
#3A7D1B #1B3A7D #7D1B3A
tetradic
#3A7D1B #1B6B7D #5E1B7D #7D2D1B
square
#3A7D1B #1B6B7D #5E1B7D #7D2D1B
split-complementary
#3A7D1B #2D1B7D #7D1B6B
monochromatic
#0C1905 #234B10 #3A7D1B #51AF26 #6DD53D
Accessibility & contrast
On white
5.09
#3A7D1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#3A7D1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A7D1B
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A7D1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A7D1B | 1.00 | 5.09 | 4.13 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817205
Deuteranopia (green-blind)
#796C25
Tritanopia (blue-blind)
#35786A
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #3a7d1b; /* rgb */ color: rgb(58, 125, 27); /* oklch */ color: oklch(52.6% 0.146 137.9);
Tailwind
colors: {
custom: {
50: '#78a35f',
500: '#3a7d1b',
950: '#000000',
},
}SCSS
$custom: #3a7d1b; $custom-light: #78a35f; $custom-dark: #000000;
JSON
{
"hex": "#3a7d1b",
"rgb": {
"r": 58,
"g": 125,
"b": 27
},
"hsl": {
"h": 101.02,
"s": 64.474,
"l": 29.804
},
"oklch": {
"l": 0.52582,
"c": 0.1462,
"h": 137.9
},
"luminance": 0.15646
}Semantic roles & 50–950 ramp
primary
#3A7D1B
secondary
#8E43B1
accent
#40E7B3
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79