#3A7F1A#3A7F1A
#3A7F1A is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.1% C 0.149 H 138.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #3A7F1A |
|---|---|
| RGB | rgb(58, 127, 26) |
| HSL | hsl(101, 66%, 30%) |
| HSV | hsv(101, 80%, 50%) |
| CMYK | cmyk(54.3%, 0%, 79.5%, 50.2%) |
| CIE-LAB | lab(47.17, -40.09, 44.77) |
| CIE-LCH | lch(47.17, 60.10, 131.85°) |
| OKLab | oklab(53.13% -0.1109 0.0999) |
| OKLCH | oklch(53.13% 0.149 138) |
| XYZ | xyz(9.5204, 16.1521, 3.5931) |
| Luminance | 0.1615 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Dark Grass Green
#388004
ΔE00 1.78
Tree Green
#2A7E19
ΔE00 1.86
Green
#008000
ΔE00 3.73
Forestgreen (CSS)
#228B22
ΔE00 4.81
Avocado
#568203
ΔE00 5.72
Darkish Green
#287C37
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A7F1A #5F1A7F
analogous
#6D7F1A #3A7F1A #1A7F2C
triadic
#3A7F1A #1A3A7F #7F1A3A
tetradic
#3A7F1A #1A6D7F #5F1A7F #7F2C1A
square
#3A7F1A #1A6D7F #5F1A7F #7F2C1A
split-complementary
#3A7F1A #2C1A7F #7F1A6D
monochromatic
#0C1905 #234C10 #3A7F1A #51B224 #6DD73C
Accessibility & contrast
On white
4.96
#3A7F1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#3A7F1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A7F1A
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A7F1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A7F1A | 1.00 | 4.96 | 4.23 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837302
Deuteranopia (green-blind)
#7A6E25
Tritanopia (blue-blind)
#357A6C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #3a7f1a; /* rgb */ color: rgb(58, 127, 26); /* oklch */ color: oklch(53.1% 0.149 138.0);
Tailwind
colors: {
custom: {
50: '#78a55f',
500: '#3a7f1a',
950: '#000000',
},
}SCSS
$custom: #3a7f1a; $custom-light: #78a55f; $custom-dark: #000000;
JSON
{
"hex": "#3a7f1a",
"rgb": {
"r": 58,
"g": 127,
"b": 26
},
"hsl": {
"h": 100.99,
"s": 66.013,
"l": 30
},
"oklch": {
"l": 0.53131,
"c": 0.1493,
"h": 138
},
"luminance": 0.16153
}Semantic roles & 50–950 ramp
primary
#3A7F1A
secondary
#8F42B3
accent
#3FE9B3
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79