Skip to content

#2fef1f

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

RGB
47, 239, 31
HSL
115°, 87%, 53%
CMYK
80, 0, 87, 6
Luminance
0.6244

Every format

HEX#2fef1f
RGBrgb(47, 239, 31)
HSLhsl(115, 87%, 53%)
CMYKcmyk(80%, 0%, 87%, 6%)
LABlab(83.1 -78.5 76.0)
LCHlch(83.1 109.3 135.9)
OKLCHoklch(0.829 0.271 142.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2fef1f on white: 1.56:1
AA ✗ fail · AA-large · AAA
Aa
#2fef1f on black: 13.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green93.7%
Blue12.2%

CMYK percentages

Cyan80.3%
Magenta0.0%
Yellow87.0%
Key (black)6.3%

Color previews

#2fef1f text on a black background

contrast 13.49:1

Card sample

#2fef1f text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2fef1f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fef1f in the Color Lab