#3A781C#3A781C
#3A781C is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.2% C 0.139 H 137.6°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #3A781C |
|---|---|
| RGB | rgb(58, 120, 28) |
| HSL | hsl(100, 62%, 29%) |
| HSV | hsv(100, 77%, 47%) |
| CMYK | cmyk(51.7%, 0%, 76.7%, 52.9%) |
| CIE-LAB | lab(44.82, -37.09, 41.74) |
| CIE-LCH | lch(44.82, 55.84, 131.62°) |
| OKLab | oklab(51.2% -0.1027 0.0939) |
| OKLCH | oklch(51.2% 0.139 137.6) |
| XYZ | xyz(8.6707, 14.4157, 3.4240) |
| Luminance | 0.1442 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.78
Dark Grass Green
#388004
ΔE00 3.69
Green
#008000
ΔE00 4.85
Darkish Green
#287C37
ΔE00 5.51
Avocado
#568203
ΔE00 6.96
Forestgreen (CSS)
#228B22
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A781C #5A1C78
analogous
#68781C #3A781C #1C782C
triadic
#3A781C #1C3A78 #781C3A
tetradic
#3A781C #1C6878 #5A1C78 #782C1C
square
#3A781C #1C6878 #5A1C78 #782C1C
split-complementary
#3A781C #2C1C78 #781C68
monochromatic
#0C1906 #224610 #3A781C #52AA28 #6DD23D
Accessibility & contrast
On white
5.41
#3A781C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#3A781C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A781C
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A781C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A781C | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C6D0A
Deuteranopia (green-blind)
#746825
Tritanopia (blue-blind)
#367466
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #3a781c; /* rgb */ color: rgb(58, 120, 28); /* oklch */ color: oklch(51.2% 0.139 137.6);
Tailwind
colors: {
custom: {
50: '#779f5f',
500: '#3a781c',
950: '#000000',
},
}SCSS
$custom: #3a781c; $custom-light: #779f5f; $custom-dark: #000000;
JSON
{
"hex": "#3a781c",
"rgb": {
"r": 58,
"g": 120,
"b": 28
},
"hsl": {
"h": 100.435,
"s": 62.162,
"l": 29.02
},
"oklch": {
"l": 0.512,
"c": 0.13915,
"h": 137.6
},
"luminance": 0.14416
}Semantic roles & 50–950 ramp
primary
#3A781C
secondary
#8A44AC
accent
#43E5B0
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#090E05
muted
#7B7E79