Skip to content

#2df52d

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

RGB
45, 245, 45
HSL
120°, 91%, 57%
CMYK
82, 0, 82, 4
Luminance
0.6605

Every format

HEX#2df52d
RGBrgb(45, 245, 45)
HSLhsl(120, 91%, 57%)
CMYKcmyk(82%, 0%, 82%, 4%)
LABlab(85.0 -79.8 74.6)
LCHlch(85.0 109.2 136.9)
OKLCHoklch(0.845 0.272 142.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2df52d on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#2df52d on black: 14.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green96.1%
Blue17.6%

CMYK percentages

Cyan81.6%
Magenta0.0%
Yellow81.6%
Key (black)3.9%

Color previews

#2df52d text on a black background

contrast 14.21:1

Card sample

#2df52d text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2df52d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2df52d in the Color Lab