Skip to content

#2dff2d

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

RGB
45, 255, 45
HSL
120°, 100%, 59%
CMYK
82, 0, 82, 0
Luminance
0.7227

Every format

HEX#2dff2d
RGBrgb(45, 255, 45)
HSLhsl(120, 100%, 59%)
CMYKcmyk(82%, 0%, 82%, 0%)
LABlab(88.1 -82.6 77.4)
LCHlch(88.1 113.2 136.8)
OKLCHoklch(0.871 0.282 142.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2dff2d on white: 1.36:1
AA ✗ fail · AA-large · AAA
Aa
#2dff2d on black: 15.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green100.0%
Blue17.6%

CMYK percentages

Cyan82.4%
Magenta0.0%
Yellow82.4%
Key (black)0.0%

Color previews

#2dff2d text on a black background

contrast 15.45:1

Card sample

#2dff2d text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2dff2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2dff2d in the Color Lab