Skip to content

#2fef80

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

RGB
47, 239, 128
HSL
145°, 86%, 56%
CMYK
80, 0, 46, 6
Luminance
0.6390

Every format

HEX#2fef80
RGBrgb(47, 239, 128)
HSLhsl(145, 86%, 56%)
CMYKcmyk(80%, 0%, 46%, 6%)
LABlab(83.9 -69.1 40.9)
LCHlch(83.9 80.3 149.4)
OKLCHoklch(0.838 0.211 151.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2fef80 on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#2fef80 on black: 13.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green93.7%
Blue50.2%

CMYK percentages

Cyan80.3%
Magenta0.0%
Yellow46.4%
Key (black)6.3%

Color previews

#2fef80 text on a black background

contrast 13.78:1

Card sample

#2fef80 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2fef80

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fef80 in the Color Lab