#2FAB42#2FAB42
#2FAB42 is a light, vivid green. Relative luminance 0.301; OKLCH L 65.2% C 0.180 H 145.4°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2FAB42 |
|---|---|
| RGB | rgb(47, 171, 66) |
| HSL | hsl(129, 57%, 43%) |
| HSV | hsv(129, 73%, 67%) |
| CMYK | cmyk(72.5%, 0%, 61.4%, 32.9%) |
| CIE-LAB | lab(61.76, -55.02, 43.57) |
| CIE-LCH | lch(61.76, 70.19, 141.62°) |
| OKLab | oklab(65.21% -0.1485 0.1024) |
| OKLCH | oklch(65.21% 0.18 145.4) |
| XYZ | xyz(16.7174, 30.1216, 10.0862) |
| Luminance | 0.3012 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Medium Green
#39AD48
ΔE00 1.01
Kelly Green (survey)
#02AB2E
ΔE00 2.41
Mid Green
#50A747
ΔE00 2.92
Shamrock
#01B44C
ΔE00 3.05
Dark Pastel Green
#56AE57
ΔE00 3.85
Green (survey)
#15B01A
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2FAB42 #AB2F98
analogous
#5AAB2F #2FAB42 #2FAB80
triadic
#2FAB42 #422FAB #AB422F
tetradic
#2FAB42 #2F5AAB #AB2F98 #AB802F
square
#2FAB42 #2F5AAB #AB2F98 #AB802F
split-complementary
#2FAB42 #802FAB #AB2F5A
monochromatic
#154B1D #227B2F #2FAB42 #4ACD5E #7ADA89
Accessibility & contrast
On white
2.99
#2FAB42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.02
#2FAB42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #2FAB42
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2FAB42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2FAB42 | 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)
#AE9B37
Deuteranopia (green-blind)
#9F914B
Tritanopia (blue-blind)
#00A794
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #2fab42; /* rgb */ color: rgb(47, 171, 66); /* oklch */ color: oklch(65.2% 0.180 145.4);
Tailwind
colors: {
custom: {
50: '#7ac57a',
500: '#2fab42',
950: '#000000',
},
}SCSS
$custom: #2fab42; $custom-light: #7ac57a; $custom-dark: #000000;
JSON
{
"hex": "#2fab42",
"rgb": {
"r": 47,
"g": 171,
"b": 66
},
"hsl": {
"h": 129.194,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.65207,
"c": 0.18038,
"h": 145.4
},
"luminance": 0.30124
}Semantic roles & 50–950 ramp
primary
#2FAB42
secondary
#C373B7
accent
#48C9E0
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B