Skip to content

#2fff2f

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

RGB
47, 255, 47
HSL
120°, 100%, 59%
CMYK
82, 0, 82, 0
Luminance
0.7233

Every format

HEX#2fff2f
RGBrgb(47, 255, 47)
HSLhsl(120, 100%, 59%)
CMYKcmyk(82%, 0%, 82%, 0%)
LABlab(88.1 -82.3 77.0)
LCHlch(88.1 112.7 136.9)
OKLCHoklch(0.871 0.281 142.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2fff2f on white: 1.36:1
AA ✗ fail · AA-large · AAA
Aa
#2fff2f on black: 15.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green100.0%
Blue18.4%

CMYK percentages

Cyan81.6%
Magenta0.0%
Yellow81.6%
Key (black)0.0%

Color previews

#2fff2f text on a black background

contrast 15.47:1

Card sample

#2fff2f text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2fff2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fff2f in the Color Lab