Skip to content

#2fcc02

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

RGB
47, 204, 2
HSL
107°, 98%, 40%
CMYK
77, 0, 99, 20
Luminance
0.4379

Every format

HEX#2fcc02
RGBrgb(47, 204, 2)
HSLhsl(107, 98%, 40%)
CMYKcmyk(77%, 0%, 99%, 20%)
LABlab(72.1 -69.1 70.6)
LCHlch(72.1 98.8 134.4)
OKLCHoklch(0.737 0.243 141.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2fcc02 on white: 2.15:1
AA ✗ fail · AA-large · AAA
Aa
#2fcc02 on black: 9.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green80.0%
Blue0.8%

CMYK percentages

Cyan77.0%
Magenta0.0%
Yellow99.0%
Key (black)20.0%

Color previews

#2fcc02 text on a black background

contrast 9.76:1

Card sample

#2fcc02 text on a white background

contrast 2.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2fcc02

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fcc02 in the Color Lab