Skip to content

#2fef82

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

RGB
47, 239, 130
HSL
146°, 86%, 56%
CMYK
80, 0, 46, 6
Luminance
0.6395

Every format

HEX#2fef82
RGBrgb(47, 239, 130)
HSLhsl(146, 86%, 56%)
CMYKcmyk(80%, 0%, 46%, 6%)
LABlab(83.9 -68.8 40.0)
LCHlch(83.9 79.5 149.9)
OKLCHoklch(0.838 0.209 152.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red18.4%
Green93.7%
Blue51.0%

CMYK percentages

Cyan80.3%
Magenta0.0%
Yellow45.6%
Key (black)6.3%

Color previews

#2fef82 text on a black background

contrast 13.79:1

Card sample

#2fef82 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2fef82

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fef82 in the Color Lab