#4EA42A#4EA42A
#4EA42A is a light, vivid green. Relative luminance 0.283; OKLCH L 64.1% C 0.176 H 138.3°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #4EA42A |
|---|---|
| RGB | rgb(78, 164, 42) |
| HSL | hsl(102, 59%, 40%) |
| HSV | hsv(102, 74%, 64%) |
| CMYK | cmyk(52.4%, 0%, 74.4%, 35.7%) |
| CIE-LAB | lab(60.19, -47.61, 52.12) |
| CIE-LCH | lch(60.19, 70.60, 132.41°) |
| OKLab | oklab(64.1% -0.1315 0.1174) |
| OKLCH | oklch(64.1% 0.176 138.3) |
| XYZ | xyz(16.8347, 28.3365, 6.7724) |
| Luminance | 0.2834 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Lawn Green
#4DA409
ΔE00 2.36
Grass
#5CAC2D
ΔE00 2.88
Grassy Green
#419C03
ΔE00 3.39
Grass Green
#3F9B0B
ΔE00 3.50
Mid Green
#50A747
ΔE00 3.73
Leaf Green
#5CA904
ΔE00 4.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4EA42A #802AA4
analogous
#8BA42A #4EA42A #2AA443
triadic
#4EA42A #2A4EA4 #A42A4E
tetradic
#4EA42A #2A8BA4 #802AA4 #A4432A
square
#4EA42A #2A8BA4 #802AA4 #A4432A
split-complementary
#4EA42A #432AA4 #A42A8B
monochromatic
#204311 #37731E #4EA42A #68CD3E #8EDA6E
Accessibility & contrast
On white
3.15
#4EA42A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.67
#4EA42A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4EA42A
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4EA42A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4EA42A | 1.00 | 3.15 | 6.67 | 6.67 |
| #FFFFFF | 3.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A99612
Deuteranopia (green-blind)
#9E8E36
Tritanopia (blue-blind)
#479E8C
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #4ea42a; /* rgb */ color: rgb(78, 164, 42); /* oklch */ color: oklch(64.1% 0.176 138.3);
Tailwind
colors: {
custom: {
50: '#88c06c',
500: '#4ea42a',
950: '#000000',
},
}SCSS
$custom: #4ea42a; $custom-light: #88c06c; $custom-dark: #000000;
JSON
{
"hex": "#4ea42a",
"rgb": {
"r": 78,
"g": 164,
"b": 42
},
"hsl": {
"h": 102.295,
"s": 59.223,
"l": 40.392
},
"oklch": {
"l": 0.641,
"c": 0.17628,
"h": 138.3
},
"luminance": 0.28338
}Semantic roles & 50–950 ramp
primary
#4EA42A
secondary
#A769C1
accent
#45E2B4
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0C1207
muted
#7D817A