Skip to content

#2fff02

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

RGB
47, 255, 2
HSL
109°, 100%, 50%
CMYK
82, 0, 99, 0
Luminance
0.7213

Every format

HEX#2fff02
RGBrgb(47, 255, 2)
HSLhsl(109, 100%, 50%)
CMYKcmyk(82%, 0%, 99%, 0%)
LABlab(88.0 -83.5 83.4)
LCHlch(88.0 118.0 135.0)
OKLCHoklch(0.870 0.290 141.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red18.4%
Green100.0%
Blue0.8%

CMYK percentages

Cyan81.6%
Magenta0.0%
Yellow99.2%
Key (black)0.0%

Color previews

#2fff02 text on a black background

contrast 15.43:1

Card sample

#2fff02 text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2fff02

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fff02 in the Color Lab