#3A801C#3A801C
#3A801C is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.4% C 0.149 H 138.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #3A801C |
|---|---|
| RGB | rgb(58, 128, 28) |
| HSL | hsl(102, 64%, 31%) |
| HSV | hsv(102, 78%, 50%) |
| CMYK | cmyk(54.7%, 0%, 78.1%, 49.8%) |
| CIE-LAB | lab(47.52, -40.36, 44.40) |
| CIE-LCH | lch(47.52, 60.00, 132.27°) |
| OKLab | oklab(53.42% -0.1115 0.0995) |
| OKLCH | oklch(53.42% 0.149 138.3) |
| XYZ | xyz(9.6733, 16.4210, 3.7582) |
| Luminance | 0.1642 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.90
Dark Grass Green
#388004
ΔE00 1.92
Green
#008000
ΔE00 3.74
Forestgreen (CSS)
#228B22
ΔE00 4.45
Avocado
#568203
ΔE00 5.78
Darkish Green
#287C37
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A801C #621C80
analogous
#6C801C #3A801C #1C8030
triadic
#3A801C #1C3A80 #801C3A
tetradic
#3A801C #1C6C80 #621C80 #80301C
square
#3A801C #1C6C80 #621C80 #80301C
split-complementary
#3A801C #301C80 #801C6C
monochromatic
#0C1C06 #234E11 #3A801C #51B227 #6ED541
Accessibility & contrast
On white
4.90
#3A801C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#3A801C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A801C
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A801C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A801C | 1.00 | 4.90 | 4.28 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847405
Deuteranopia (green-blind)
#7B6F27
Tritanopia (blue-blind)
#347B6D
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #3a801c; /* rgb */ color: rgb(58, 128, 28); /* oklch */ color: oklch(53.4% 0.149 138.3);
Tailwind
colors: {
custom: {
50: '#78a560',
500: '#3a801c',
950: '#000000',
},
}SCSS
$custom: #3a801c; $custom-light: #78a560; $custom-dark: #000000;
JSON
{
"hex": "#3a801c",
"rgb": {
"r": 58,
"g": 128,
"b": 28
},
"hsl": {
"h": 102,
"s": 64.103,
"l": 30.588
},
"oklch": {
"l": 0.53422,
"c": 0.14942,
"h": 138.3
},
"luminance": 0.16422
}Semantic roles & 50–950 ramp
primary
#3A801C
secondary
#9244B3
accent
#41E7B5
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79