#3A781B#3A781B
#3A781B is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.2% C 0.140 H 137.5°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #3A781B |
|---|---|
| RGB | rgb(58, 120, 27) |
| HSL | hsl(100, 63%, 29%) |
| HSV | hsv(100, 78%, 47%) |
| CMYK | cmyk(51.7%, 0%, 77.5%, 52.9%) |
| CIE-LAB | lab(44.82, -37.16, 42.11) |
| CIE-LCH | lch(44.82, 56.16, 131.43°) |
| OKLab | oklab(51.19% -0.103 0.0945) |
| OKLCH | oklch(51.19% 0.14 137.5) |
| XYZ | xyz(8.6589, 14.4110, 3.3620) |
| Luminance | 0.1441 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.78
Dark Grass Green
#388004
ΔE00 3.61
Green
#008000
ΔE00 4.82
Darkish Green
#287C37
ΔE00 5.63
Avocado
#568203
ΔE00 6.88
Forestgreen (CSS)
#228B22
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A781B #591B78
analogous
#69781B #3A781B #1B782B
triadic
#3A781B #1B3A78 #781B3A
tetradic
#3A781B #1B6978 #591B78 #782B1B
square
#3A781B #1B6978 #591B78 #782B1B
split-complementary
#3A781B #2B1B78 #781B69
monochromatic
#0C1906 #224610 #3A781B #52AA26 #6DD33B
Accessibility & contrast
On white
5.41
#3A781B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#3A781B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A781B
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A781B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A781B | 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)
#7C6D08
Deuteranopia (green-blind)
#746825
Tritanopia (blue-blind)
#367466
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #3a781b; /* rgb */ color: rgb(58, 120, 27); /* oklch */ color: oklch(51.2% 0.140 137.5);
Tailwind
colors: {
custom: {
50: '#779f5f',
500: '#3a781b',
950: '#000000',
},
}SCSS
$custom: #3a781b; $custom-light: #779f5f; $custom-dark: #000000;
JSON
{
"hex": "#3a781b",
"rgb": {
"r": 58,
"g": 120,
"b": 27
},
"hsl": {
"h": 100,
"s": 63.265,
"l": 28.824
},
"oklch": {
"l": 0.51192,
"c": 0.13977,
"h": 137.5
},
"luminance": 0.14412
}Semantic roles & 50–950 ramp
primary
#3A781B
secondary
#8943AC
accent
#41E6AF
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E05
muted
#7B7E79