Skip to content

#2fc511

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

RGB
47, 197, 17
HSL
110°, 84%, 42%
CMYK
76, 0, 91, 23
Luminance
0.4058

Every format

HEX#2fc511
RGBrgb(47, 197, 17)
HSLhsl(110, 84%, 42%)
CMYKcmyk(76%, 0%, 91%, 23%)
LABlab(69.9 -66.8 67.0)
LCHlch(69.9 94.6 134.9)
OKLCHoklch(0.719 0.233 141.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2fc511 on white: 2.30:1
AA ✗ fail · AA-large · AAA
Aa
#2fc511 on black: 9.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green77.3%
Blue6.7%

CMYK percentages

Cyan76.1%
Magenta0.0%
Yellow91.4%
Key (black)22.7%

Color previews

#2fc511 text on a black background

contrast 9.12:1

Card sample

#2fc511 text on a white background

contrast 2.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2fc511

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fc511 in the Color Lab