Skip to content

#2fd42f

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

RGB
47, 212, 47
HSL
120°, 66%, 51%
CMYK
78, 0, 78, 17
Luminance
0.4790

Every format

HEX#2fd42f
RGBrgb(47, 212, 47)
HSLhsl(120, 66%, 51%)
CMYKcmyk(78%, 0%, 78%, 17%)
LABlab(74.8 -69.9 64.5)
LCHlch(74.8 95.1 137.3)
OKLCHoklch(0.760 0.238 142.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red18.4%
Green83.1%
Blue18.4%

CMYK percentages

Cyan77.8%
Magenta0.0%
Yellow77.8%
Key (black)16.9%

Color previews

#2fd42f text on a black background

contrast 10.58:1

Card sample

#2fd42f text on a white background

contrast 1.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2fd42f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fd42f in the Color Lab