Skip to content

#2dcd21

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

RGB
45, 205, 33
HSL
116°, 72%, 47%
CMYK
78, 0, 84, 20
Luminance
0.4433

Every format

HEX#2dcd21
RGBrgb(45, 205, 33)
HSLhsl(116, 72%, 47%)
CMYKcmyk(78%, 0%, 84%, 20%)
LABlab(72.5 -68.8 66.1)
LCHlch(72.5 95.4 136.2)
OKLCHoklch(0.740 0.237 142.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2dcd21 on white: 2.13:1
AA ✗ fail · AA-large · AAA
Aa
#2dcd21 on black: 9.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green80.4%
Blue12.9%

CMYK percentages

Cyan78.0%
Magenta0.0%
Yellow83.9%
Key (black)19.6%

Color previews

#2dcd21 text on a black background

contrast 9.87:1

Card sample

#2dcd21 text on a white background

contrast 2.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2dcd21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2dcd21 in the Color Lab