Skip to content

#2dec3c

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

RGB
45, 236, 60
HSL
125°, 83%, 55%
CMYK
81, 0, 75, 8
Luminance
0.6088

Every format

HEX#2dec3c
RGBrgb(45, 236, 60)
HSLhsl(125, 83%, 55%)
CMYKcmyk(81%, 0%, 75%, 8%)
LABlab(82.3 -76.3 67.7)
LCHlch(82.3 102.0 138.4)
OKLCHoklch(0.823 0.257 143.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2dec3c on white: 1.59:1
AA ✗ fail · AA-large · AAA
Aa
#2dec3c on black: 13.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green92.5%
Blue23.5%

CMYK percentages

Cyan80.9%
Magenta0.0%
Yellow74.6%
Key (black)7.5%

Color previews

#2dec3c text on a black background

contrast 13.18:1

Card sample

#2dec3c text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2dec3c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2dec3c in the Color Lab