Skip to content

#2fe47f

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

RGB
47, 228, 127
HSL
147°, 77%, 54%
CMYK
79, 0, 44, 11
Luminance
0.5762

Every format

HEX#2fe47f
RGBrgb(47, 228, 127)
HSLhsl(147, 77%, 54%)
CMYKcmyk(79%, 0%, 44%, 11%)
LABlab(80.5 -65.5 37.0)
LCHlch(80.5 75.3 150.5)
OKLCHoklch(0.810 0.198 152.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2fe47f on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#2fe47f on black: 12.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green89.4%
Blue49.8%

CMYK percentages

Cyan79.4%
Magenta0.0%
Yellow44.3%
Key (black)10.6%

Color previews

#2fe47f text on a black background

contrast 12.52:1

Card sample

#2fe47f text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2fe47f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fe47f in the Color Lab