#4FA42A#4FA42A
#4FA42A is a light, vivid green. Relative luminance 0.284; OKLCH L 64.1% C 0.176 H 138.1°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #4FA42A |
|---|---|
| RGB | rgb(79, 164, 42) |
| HSL | hsl(102, 59%, 40%) |
| HSV | hsv(102, 74%, 64%) |
| CMYK | cmyk(51.8%, 0%, 74.4%, 35.7%) |
| CIE-LAB | lab(60.23, -47.32, 52.17) |
| CIE-LCH | lch(60.23, 70.44, 132.21°) |
| OKLab | oklab(64.14% -0.1308 0.1175) |
| OKLCH | oklch(64.14% 0.176 138.1) |
| XYZ | xyz(16.9172, 28.3791, 6.7763) |
| Luminance | 0.2838 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Lawn Green
#4DA409
ΔE00 2.32
Grass
#5CAC2D
ΔE00 2.82
Grassy Green
#419C03
ΔE00 3.40
Grass Green
#3F9B0B
ΔE00 3.52
Mid Green
#50A747
ΔE00 3.77
Leaf Green
#5CA904
ΔE00 3.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4FA42A #7F2AA4
analogous
#8CA42A #4FA42A #2AA442
triadic
#4FA42A #2A4FA4 #A42A4F
tetradic
#4FA42A #2A8CA4 #7F2AA4 #A4422A
square
#4FA42A #2A8CA4 #7F2AA4 #A4422A
split-complementary
#4FA42A #422AA4 #A42A8C
monochromatic
#204311 #38731E #4FA42A #69CD3E #8FDA6E
Accessibility & contrast
On white
3.15
#4FA42A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.68
#4FA42A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4FA42A
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4FA42A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4FA42A | 1.00 | 3.15 | 6.68 | 6.68 |
| #FFFFFF | 3.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A99612
Deuteranopia (green-blind)
#9E8F36
Tritanopia (blue-blind)
#489E8C
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #4fa42a; /* rgb */ color: rgb(79, 164, 42); /* oklch */ color: oklch(64.1% 0.176 138.1);
Tailwind
colors: {
custom: {
50: '#89c06c',
500: '#4fa42a',
950: '#000000',
},
}SCSS
$custom: #4fa42a; $custom-light: #89c06c; $custom-dark: #000000;
JSON
{
"hex": "#4fa42a",
"rgb": {
"r": 79,
"g": 164,
"b": 42
},
"hsl": {
"h": 101.803,
"s": 59.223,
"l": 40.392
},
"oklch": {
"l": 0.64142,
"c": 0.1758,
"h": 138.1
},
"luminance": 0.2838
}Semantic roles & 50–950 ramp
primary
#4FA42A
secondary
#A669C1
accent
#45E2B3
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0C1207
muted
#7D817A