Skip to content

#2ffc7d

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

RGB
47, 252, 125
HSL
143°, 97%, 59%
CMYK
81, 0, 50, 1
Luminance
0.7171

Every format

HEX#2ffc7d
RGBrgb(47, 252, 125)
HSLhsl(143, 97%, 59%)
CMYKcmyk(81%, 0%, 50%, 1%)
LABlab(87.8 -73.8 47.2)
LCHlch(87.8 87.6 147.4)
OKLCHoklch(0.870 0.229 150.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ffc7d on white: 1.37:1
AA ✗ fail · AA-large · AAA
Aa
#2ffc7d on black: 15.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green98.8%
Blue49.0%

CMYK percentages

Cyan81.3%
Magenta0.0%
Yellow50.4%
Key (black)1.2%

Color previews

#2ffc7d text on a black background

contrast 15.34:1

Card sample

#2ffc7d text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ffc7d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ffc7d in the Color Lab