#3A971A#3A971A
#3A971A is a mid, vivid green. Relative luminance 0.231; OKLCH L 59.7% C 0.178 H 139.5°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #3A971A |
|---|---|
| RGB | rgb(58, 151, 26) |
| HSL | hsl(105, 71%, 35%) |
| HSV | hsv(105, 83%, 59%) |
| CMYK | cmyk(61.6%, 0%, 82.8%, 40.8%) |
| CIE-LAB | lab(55.18, -49.22, 52.31) |
| CIE-LCH | lch(55.18, 71.83, 133.26°) |
| OKLab | oklab(59.74% -0.1354 0.1157) |
| OKLCH | oklch(59.74% 0.178 139.5) |
| XYZ | xyz(12.9974, 23.1061, 4.7521) |
| Luminance | 0.2311 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Grass Green
#3F9B0B
ΔE00 1.93
Grassy Green
#419C03
ΔE00 2.52
True Green
#089404
ΔE00 2.88
Irish Green
#019529
ΔE00 4.07
Emerald Green
#028F1E
ΔE00 4.61
Lawn Green
#4DA409
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A971A #771A97
analogous
#79971A #3A971A #1A9739
triadic
#3A971A #1A3A97 #971A3A
tetradic
#3A971A #1A7997 #771A97 #97391A
square
#3A971A #1A7997 #771A97 #97391A
split-complementary
#3A971A #391A97 #971A79
monochromatic
#122F08 #266311 #3A971A #4ECB23 #71E04B
Accessibility & contrast
On white
3.74
#3A971A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.62
#3A971A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #3A971A
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A971A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##3A971A | 1.00 | 3.74 | 5.62 | 5.62 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8900
Deuteranopia (green-blind)
#90812A
Tritanopia (blue-blind)
#2E9280
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #3a971a; /* rgb */ color: rgb(58, 151, 26); /* oklch */ color: oklch(59.7% 0.178 139.5);
Tailwind
colors: {
custom: {
50: '#7cb663',
500: '#3a971a',
950: '#000000',
},
}SCSS
$custom: #3a971a; $custom-light: #7cb663; $custom-dark: #000000;
JSON
{
"hex": "#3a971a",
"rgb": {
"r": 58,
"g": 151,
"b": 26
},
"hsl": {
"h": 104.64,
"s": 70.621,
"l": 34.706
},
"oklch": {
"l": 0.59744,
"c": 0.17813,
"h": 139.5
},
"luminance": 0.23107
}Semantic roles & 50–950 ramp
primary
#3A971A
secondary
#A34BC2
accent
#3AEDC0
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A