Skip to content

#2fd52f

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

RGB
47, 213, 47
HSL
120°, 66%, 51%
CMYK
78, 0, 78, 17
Luminance
0.4840

Every format

HEX#2fd52f
RGBrgb(47, 213, 47)
HSLhsl(120, 66%, 51%)
CMYKcmyk(78%, 0%, 78%, 17%)
LABlab(75.1 -70.2 64.8)
LCHlch(75.1 95.5 137.3)
OKLCHoklch(0.762 0.239 142.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2fd52f on white: 1.97:1
AA ✗ fail · AA-large · AAA
Aa
#2fd52f on black: 10.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green83.5%
Blue18.4%

CMYK percentages

Cyan77.9%
Magenta0.0%
Yellow77.9%
Key (black)16.5%

Color previews

#2fd52f text on a black background

contrast 10.68:1

Card sample

#2fd52f text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2fd52f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fd52f in the Color Lab