#4FA42B#4FA42B
#4FA42B is a light, vivid green. Relative luminance 0.284; OKLCH L 64.1% C 0.175 H 138.2°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #4FA42B |
|---|---|
| RGB | rgb(79, 164, 43) |
| HSL | hsl(102, 58%, 41%) |
| HSV | hsv(102, 74%, 64%) |
| CMYK | cmyk(51.8%, 0%, 73.8%, 35.7%) |
| CIE-LAB | lab(60.24, -47.25, 51.81) |
| CIE-LCH | lch(60.24, 70.12, 132.36°) |
| OKLab | oklab(64.15% -0.1305 0.1169) |
| OKLCH | oklch(64.15% 0.175 138.2) |
| XYZ | xyz(16.9354, 28.3863, 6.8717) |
| Luminance | 0.2839 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Lawn Green
#4DA409
ΔE00 2.43
Grass
#5CAC2D
ΔE00 2.85
Grassy Green
#419C03
ΔE00 3.46
Grass Green
#3F9B0B
ΔE00 3.57
Mid Green
#50A747
ΔE00 3.66
Leaf Green
#5CA904
ΔE00 4.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4FA42B #802BA4
analogous
#8BA42B #4FA42B #2BA444
triadic
#4FA42B #2B4FA4 #A42B4F
tetradic
#4FA42B #2B8BA4 #802BA4 #A4442B
square
#4FA42B #2B8BA4 #802BA4 #A4442B
split-complementary
#4FA42B #442BA4 #A42B8B
monochromatic
#204312 #38741E #4FA42B #69CD3F #8FD970
Accessibility & contrast
On white
3.14
#4FA42B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.68
#4FA42B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4FA42B
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4FA42B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4FA42B | 1.00 | 3.14 | 6.68 | 6.68 |
| #FFFFFF | 3.14 | 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)
#A99615
Deuteranopia (green-blind)
#9E8F37
Tritanopia (blue-blind)
#489E8D
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #4fa42b; /* rgb */ color: rgb(79, 164, 43); /* oklch */ color: oklch(64.1% 0.175 138.2);
Tailwind
colors: {
custom: {
50: '#89c06c',
500: '#4fa42b',
950: '#000000',
},
}SCSS
$custom: #4fa42b; $custom-light: #89c06c; $custom-dark: #000000;
JSON
{
"hex": "#4fa42b",
"rgb": {
"r": 79,
"g": 164,
"b": 43
},
"hsl": {
"h": 102.149,
"s": 58.454,
"l": 40.588
},
"oklch": {
"l": 0.6415,
"c": 0.1752,
"h": 138.2
},
"luminance": 0.28388
}Semantic roles & 50–950 ramp
primary
#4FA42B
secondary
#A76AC1
accent
#46E2B3
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0C1207
muted
#7D817A