Skip to content

#2dfe52

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

RGB
45, 254, 82
HSL
131°, 99%, 59%
CMYK
82, 0, 68, 0
Luminance
0.7205

Every format

HEX#2dfe52
RGBrgb(45, 254, 82)
HSLhsl(131, 99%, 59%)
CMYKcmyk(82%, 0%, 68%, 0%)
LABlab(88.0 -79.8 65.8)
LCHlch(88.0 103.4 140.5)
OKLCHoklch(0.870 0.263 144.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red17.6%
Green99.6%
Blue32.2%

CMYK percentages

Cyan82.3%
Magenta0.0%
Yellow67.7%
Key (black)0.4%

Color previews

#2dfe52 text on a black background

contrast 15.41:1

Card sample

#2dfe52 text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2dfe52

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2dfe52 in the Color Lab