#2FA252#2FA252
#2FA252 is a light, vivid green. Relative luminance 0.271; OKLCH L 63.0% C 0.155 H 149.4°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2FA252 |
|---|---|
| RGB | rgb(47, 162, 82) |
| HSL | hsl(138, 55%, 41%) |
| HSV | hsv(138, 71%, 64%) |
| CMYK | cmyk(71%, 0%, 49.4%, 36.5%) |
| CIE-LAB | lab(59.02, -49.53, 32.46) |
| CIE-LCH | lch(59.02, 59.22, 146.76°) |
| OKLab | oklab(63.01% -0.1334 0.079) |
| OKLCH | oklch(63.01% 0.155 149.4) |
| XYZ | xyz(15.6144, 27.0525, 12.3798) |
| Luminance | 0.2705 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald (survey)
#01A049
ΔE00 2.01
Greenish
#40A368
ΔE00 4.22
Medium Green
#39AD48
ΔE00 4.55
Mid Green
#50A747
ΔE00 4.72
Seaweed Green
#35AD6B
ΔE00 4.76
Algae
#54AC68
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2FA252 #A22F7F
analogous
#45A22F #2FA252 #2FA28B
triadic
#2FA252 #522FA2 #A2522F
tetradic
#2FA252 #2F45A2 #A22F7F #A28B2F
square
#2FA252 #2F45A2 #A22F7F #A28B2F
split-complementary
#2FA252 #8B2FA2 #A22F45
monochromatic
#134322 #21733A #2FA252 #45C96D #75D792
Accessibility & contrast
On white
3.28
#2FA252 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.41
#2FA252 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2FA252
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2FA252 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2FA252 | 1.00 | 3.28 | 6.41 | 6.41 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A3944B
Deuteranopia (green-blind)
#958A58
Tritanopia (blue-blind)
#009F8F
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #2fa252; /* rgb */ color: rgb(47, 162, 82); /* oklch */ color: oklch(63.0% 0.155 149.4);
Tailwind
colors: {
custom: {
50: '#77be84',
500: '#2fa252',
950: '#000000',
},
}SCSS
$custom: #2fa252; $custom-light: #77be84; $custom-dark: #000000;
JSON
{
"hex": "#2fa252",
"rgb": {
"r": 47,
"g": 162,
"b": 82
},
"hsl": {
"h": 138.261,
"s": 55.024,
"l": 40.98
},
"oklch": {
"l": 0.63005,
"c": 0.155,
"h": 149.4
},
"luminance": 0.27054
}Semantic roles & 50–950 ramp
primary
#2FA252
secondary
#BF6EA6
accent
#49B1DE
background
#F7FBF8
surface
#EEF7EF
border
#C9D0CA
text
#0A120B
muted
#7C817C