#2FAB40#2FAB40
#2FAB40 is a light, vivid green. Relative luminance 0.301; OKLCH L 65.2% C 0.182 H 145.1°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2FAB40 |
|---|---|
| RGB | rgb(47, 171, 64) |
| HSL | hsl(128, 57%, 43%) |
| HSV | hsv(128, 73%, 67%) |
| CMYK | cmyk(72.5%, 0%, 62.6%, 32.9%) |
| CIE-LAB | lab(61.74, -55.26, 44.46) |
| CIE-LCH | lch(61.74, 70.93, 141.18°) |
| OKLab | oklab(65.18% -0.1493 0.1041) |
| OKLCH | oklch(65.18% 0.182 145.1) |
| XYZ | xyz(16.6595, 30.0985, 9.7811) |
| Luminance | 0.3010 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Medium Green
#39AD48
ΔE00 1.17
Kelly Green (survey)
#02AB2E
ΔE00 2.18
Mid Green
#50A747
ΔE00 2.93
Shamrock
#01B44C
ΔE00 3.17
Dark Pastel Green
#56AE57
ΔE00 3.98
Green (survey)
#15B01A
ΔE00 4.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2FAB40 #AB2F9A
analogous
#5CAB2F #2FAB40 #2FAB7E
triadic
#2FAB40 #402FAB #AB402F
tetradic
#2FAB40 #2F5CAB #AB2F9A #AB7E2F
square
#2FAB40 #2F5CAB #AB2F9A #AB7E2F
split-complementary
#2FAB40 #7E2FAB #AB2F5C
monochromatic
#154B1C #227B2E #2FAB40 #4ACD5C #7ADA87
Accessibility & contrast
On white
2.99
#2FAB40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.02
#2FAB40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #2FAB40
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2FAB40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2FAB40 | 1.00 | 2.99 | 7.02 | 7.02 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9B34
Deuteranopia (green-blind)
#A09149
Tritanopia (blue-blind)
#00A794
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #2fab40; /* rgb */ color: rgb(47, 171, 64); /* oklch */ color: oklch(65.2% 0.182 145.1);
Tailwind
colors: {
custom: {
50: '#7ac579',
500: '#2fab40',
950: '#000000',
},
}SCSS
$custom: #2fab40; $custom-light: #7ac579; $custom-dark: #000000;
JSON
{
"hex": "#2fab40",
"rgb": {
"r": 47,
"g": 171,
"b": 64
},
"hsl": {
"h": 128.226,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.65184,
"c": 0.18196,
"h": 145.1
},
"luminance": 0.301
}Semantic roles & 50–950 ramp
primary
#2FAB40
secondary
#C373B8
accent
#48CBE0
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B