Skip to content

#2fd40d

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

RGB
47, 212, 13
HSL
110°, 88%, 44%
CMYK
78, 0, 94, 17
Luminance
0.4772

Every format

HEX#2fd40d
RGBrgb(47, 212, 13)
HSLhsl(110, 88%, 44%)
CMYKcmyk(78%, 0%, 94%, 17%)
LABlab(74.7 -71.3 71.5)
LCHlch(74.7 101.0 134.9)
OKLCHoklch(0.758 0.249 141.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2fd40d on white: 1.99:1
AA ✗ fail · AA-large · AAA
Aa
#2fd40d on black: 10.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green83.1%
Blue5.1%

CMYK percentages

Cyan77.8%
Magenta0.0%
Yellow93.9%
Key (black)16.9%

Color previews

#2fd40d text on a black background

contrast 10.54:1

Card sample

#2fd40d text on a white background

contrast 1.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2fd40d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fd40d in the Color Lab