Skip to content

#2fef28

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

RGB
47, 239, 40
HSL
118°, 86%, 55%
CMYK
80, 0, 83, 6
Luminance
0.6249

Every format

HEX#2fef28
RGBrgb(47, 239, 40)
HSLhsl(118, 86%, 55%)
CMYKcmyk(80%, 0%, 83%, 6%)
LABlab(83.2 -78.1 74.2)
LCHlch(83.2 107.7 136.5)
OKLCHoklch(0.830 0.268 142.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red18.4%
Green93.7%
Blue15.7%

CMYK percentages

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

Color previews

#2fef28 text on a black background

contrast 13.50:1

Card sample

#2fef28 text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2fef28

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fef28 in the Color Lab