Skip to content

#2fdb40

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

RGB
47, 219, 64
HSL
126°, 71%, 52%
CMYK
79, 0, 71, 14
Luminance
0.5164

Every format

HEX#2fdb40
RGBrgb(47, 219, 64)
HSLhsl(126, 71%, 52%)
CMYKcmyk(79%, 0%, 71%, 14%)
LABlab(77.1 -70.7 61.0)
LCHlch(77.1 93.4 139.2)
OKLCHoklch(0.779 0.236 144.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2fdb40 on white: 1.85:1
AA ✗ fail · AA-large · AAA
Aa
#2fdb40 on black: 11.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green85.9%
Blue25.1%

CMYK percentages

Cyan78.5%
Magenta0.0%
Yellow70.8%
Key (black)14.1%

Color previews

#2fdb40 text on a black background

contrast 11.33:1

Card sample

#2fdb40 text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2fdb40

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fdb40 in the Color Lab