#3A7B1B#3A7B1B
#3A7B1B is a mid, vivid green. Relative luminance 0.151; OKLCH L 52.0% C 0.144 H 137.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #3A7B1B |
|---|---|
| RGB | rgb(58, 123, 27) |
| HSL | hsl(101, 64%, 29%) |
| HSV | hsv(101, 78%, 48%) |
| CMYK | cmyk(52.8%, 0%, 78%, 51.8%) |
| CIE-LAB | lab(45.83, -38.40, 43.11) |
| CIE-LCH | lch(45.83, 57.73, 131.69°) |
| OKLab | oklab(52.03% -0.1063 0.0966) |
| OKLCH | oklch(52.03% 0.144 137.7) |
| XYZ | xyz(9.0254, 15.1439, 3.4842) |
| Luminance | 0.1515 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.07
Dark Grass Green
#388004
ΔE00 2.73
Green
#008000
ΔE00 4.20
Darkish Green
#287C37
ΔE00 5.61
Forestgreen (CSS)
#228B22
ΔE00 6.06
Avocado
#568203
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A7B1B #5C1B7B
analogous
#6A7B1B #3A7B1B #1B7B2C
triadic
#3A7B1B #1B3A7B #7B1B3A
tetradic
#3A7B1B #1B6A7B #5C1B7B #7B2C1B
square
#3A7B1B #1B6A7B #5C1B7B #7B2C1B
split-complementary
#3A7B1B #2C1B7B #7B1B6A
monochromatic
#0C1906 #224910 #3A7B1B #52AD26 #6DD43C
Accessibility & contrast
On white
5.21
#3A7B1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#3A7B1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A7B1B
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A7B1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A7B1B | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7006
Deuteranopia (green-blind)
#776A25
Tritanopia (blue-blind)
#357669
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #3a7b1b; /* rgb */ color: rgb(58, 123, 27); /* oklch */ color: oklch(52.0% 0.144 137.7);
Tailwind
colors: {
custom: {
50: '#77a25f',
500: '#3a7b1b',
950: '#000000',
},
}SCSS
$custom: #3a7b1b; $custom-light: #77a25f; $custom-dark: #000000;
JSON
{
"hex": "#3a7b1b",
"rgb": {
"r": 58,
"g": 123,
"b": 27
},
"hsl": {
"h": 100.625,
"s": 64,
"l": 29.412
},
"oklch": {
"l": 0.52027,
"c": 0.14364,
"h": 137.7
},
"luminance": 0.15145
}Semantic roles & 50–950 ramp
primary
#3A7B1B
secondary
#8C43AF
accent
#41E7B1
background
#F7FAF5
surface
#EEF3EA
border
#C9CDC6
text
#090F05
muted
#7B7F79