Skip to content

#2dec5f

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

RGB
45, 236, 95
HSL
136°, 83%, 55%
CMYK
81, 0, 60, 8
Luminance
0.6138

Every format

HEX#2dec5f
RGBrgb(45, 236, 95)
HSLhsl(136, 83%, 55%)
CMYKcmyk(81%, 0%, 60%, 8%)
LABlab(82.6 -73.0 54.5)
LCHlch(82.6 91.1 143.2)
OKLCHoklch(0.826 0.234 146.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2dec5f on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#2dec5f on black: 13.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green92.5%
Blue37.3%

CMYK percentages

Cyan80.9%
Magenta0.0%
Yellow59.7%
Key (black)7.5%

Color previews

#2dec5f text on a black background

contrast 13.28:1

Card sample

#2dec5f text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2dec5f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2dec5f in the Color Lab