Skip to content

#2cf52d

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

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

Every format

HEX#2cf52d
RGBrgb(44, 245, 45)
HSLhsl(120, 91%, 57%)
CMYKcmyk(82%, 0%, 82%, 4%)
LABlab(85.0 -79.9 74.6)
LCHlch(85.0 109.3 137.0)
OKLCHoklch(0.845 0.272 142.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#2cf52d text on a black background

contrast 14.21:1

Card sample

#2cf52d text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2cf52d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2cf52d in the Color Lab