Skip to content

#2fe52f

a balanced, electric green · cool · closest name: lime

RGB
47, 229, 47
HSL
120°, 78%, 54%
CMYK
80, 0, 80, 10
Luminance
0.5685

Every format

HEX#2fe52f
RGBrgb(47, 229, 47)
HSLhsl(120, 78%, 54%)
CMYKcmyk(80%, 0%, 80%, 10%)
LABlab(80.1 -74.9 69.5)
LCHlch(80.1 102.2 137.1)
OKLCHoklch(0.804 0.255 142.7)

Copy-ready code

/* CSS */
color: #2fe52f;
background-color: #2fe52f;
/* Tailwind (arbitrary) */
class="text-[#2fe52f] bg-[#2fe52f]"
/* SCSS */
$brand: #2fe52f;
/* SwiftUI */
Color(red: 0.184, green: 0.898, blue: 0.184)
/* Android */
Color.parseColor("#2fe52f")

Accessibility — WCAG contrast

Aa
#2fe52f on white: 1.70:1
AA ✗ fail · AA-large · AAA
Aa
#2fe52f on black: 12.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green89.8%
Blue18.4%

CMYK percentages

Cyan79.5%
Magenta0.0%
Yellow79.5%
Key (black)10.2%

Color previews

#2fe52f text on a black background

contrast 12.37:1

Card sample

#2fe52f text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2fe52f;
Background color
Panel with #2fe52f background
background-color: #2fe52f;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #2fe52f;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(47, 229, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 229, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2fe52f;
background: linear-gradient(135deg, #2fe52f, #2FE5A8);

Monochromatic scale

Palettes built from #2fe52f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fe52f in the Color Lab