Skip to content

#2fef52

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

RGB
47, 239, 82
HSL
131°, 86%, 56%
CMYK
80, 0, 66, 6
Luminance
0.6295

Every format

HEX#2fef52
RGBrgb(47, 239, 82)
HSLhsl(131, 86%, 56%)
CMYKcmyk(80%, 0%, 66%, 6%)
LABlab(83.4 -75.1 60.9)
LCHlch(83.4 96.7 141.0)
OKLCHoklch(0.832 0.247 145.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red18.4%
Green93.7%
Blue32.2%

CMYK percentages

Cyan80.3%
Magenta0.0%
Yellow65.7%
Key (black)6.3%

Color previews

#2fef52 text on a black background

contrast 13.59:1

Card sample

#2fef52 text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2fef52

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fef52 in the Color Lab