Skip to content

#2dfb1d

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

RGB
45, 251, 29
HSL
116°, 97%, 55%
CMYK
82, 0, 88, 2
Luminance
0.6964

Every format

HEX#2dfb1d
RGBrgb(45, 251, 29)
HSLhsl(116, 97%, 55%)
CMYKcmyk(82%, 0%, 88%, 2%)
LABlab(86.8 -82.1 79.5)
LCHlch(86.8 114.3 135.9)
OKLCHoklch(0.860 0.283 142.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2dfb1d on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#2dfb1d on black: 14.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green98.4%
Blue11.4%

CMYK percentages

Cyan82.1%
Magenta0.0%
Yellow88.4%
Key (black)1.6%

Color previews

#2dfb1d text on a black background

contrast 14.93:1

Card sample

#2dfb1d text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(45, 251, 29, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(45, 251, 29, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2dfb1d;
background: linear-gradient(135deg, #2dfb1d, #1DFBA1);

Monochromatic scale

Palettes built from #2dfb1d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2dfb1d in the Color Lab