#2FAB2A#2FAB2A
#2FAB2A is a light, vivid green. Relative luminance 0.299; OKLCH L 65.0% C 0.197 H 142.5°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2FAB2A |
|---|---|
| RGB | rgb(47, 171, 42) |
| HSL | hsl(118, 61%, 42%) |
| HSV | hsv(118, 75%, 67%) |
| CMYK | cmyk(72.5%, 0%, 75.4%, 32.9%) |
| CIE-LAB | lab(61.56, -57.38, 53.20) |
| CIE-LCH | lch(61.56, 78.24, 137.17°) |
| OKLab | oklab(64.98% -0.156 0.1199) |
| OKLCH | oklch(64.98% 0.197 142.5) |
| XYZ | xyz(16.1522, 29.8955, 7.1092) |
| Luminance | 0.2990 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Kelly Green (survey)
#02AB2E
ΔE00 1.75
Green (survey)
#15B01A
ΔE00 2.02
Medium Green
#39AD48
ΔE00 3.52
Mid Green
#50A747
ΔE00 4.11
Grass
#5CAC2D
ΔE00 4.15
Leafy Green
#51B73B
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2FAB2A #A62AAB
analogous
#70AB2A #2FAB2A #2AAB65
triadic
#2FAB2A #2A2FAB #AB2A2F
tetradic
#2FAB2A #2A70AB #A62AAB #AB652A
square
#2FAB2A #2A70AB #A62AAB #AB652A
split-complementary
#2FAB2A #652AAB #AB2A70
monochromatic
#144912 #217A1E #2FAB2A #47D142 #77DD73
Accessibility & contrast
On white
3.01
#2FAB2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.98
#2FAB2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2FAB2A
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2FAB2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2FAB2A | 1.00 | 3.01 | 6.98 | 6.98 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9B0F
Deuteranopia (green-blind)
#A19138
Tritanopia (blue-blind)
#01A692
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #2fab2a; /* rgb */ color: rgb(47, 171, 42); /* oklch */ color: oklch(65.0% 0.197 142.5);
Tailwind
colors: {
custom: {
50: '#7bc56d',
500: '#2fab2a',
950: '#000000',
},
}SCSS
$custom: #2fab2a; $custom-light: #7bc56d; $custom-dark: #000000;
JSON
{
"hex": "#2fab2a",
"rgb": {
"r": 47,
"g": 171,
"b": 42
},
"hsl": {
"h": 117.674,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.64982,
"c": 0.19676,
"h": 142.5
},
"luminance": 0.29897
}Semantic roles & 50–950 ramp
primary
#2FAB2A
secondary
#C16DC4
accent
#44E4DE
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A