Skip to content

#2fef2d

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

RGB
47, 239, 45
HSL
119°, 86%, 56%
CMYK
80, 0, 81, 6
Luminance
0.6253

Every format

HEX#2fef2d
RGBrgb(47, 239, 45)
HSLhsl(119, 86%, 56%)
CMYKcmyk(80%, 0%, 81%, 6%)
LABlab(83.2 -77.9 73.0)
LCHlch(83.2 106.7 136.9)
OKLCHoklch(0.830 0.266 142.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2fef2d on white: 1.55:1
AA ✗ fail · AA-large · AAA
Aa
#2fef2d on black: 13.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green93.7%
Blue17.6%

CMYK percentages

Cyan80.3%
Magenta0.0%
Yellow81.2%
Key (black)6.3%

Color previews

#2fef2d text on a black background

contrast 13.51:1

Card sample

#2fef2d text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2fef2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fef2d in the Color Lab