Skip to content

#2cd45c

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

RGB
44, 212, 92
HSL
137°, 66%, 50%
CMYK
79, 0, 57, 17
Luminance
0.4840

Every format

HEX#2cd45c
RGBrgb(44, 212, 92)
HSLhsl(137, 66%, 50%)
CMYKcmyk(79%, 0%, 57%, 17%)
LABlab(75.1 -65.9 47.1)
LCHlch(75.1 81.0 144.4)
OKLCHoklch(0.763 0.209 147.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2cd45c on white: 1.97:1
AA ✗ fail · AA-large · AAA
Aa
#2cd45c on black: 10.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.3%
Green83.1%
Blue36.1%

CMYK percentages

Cyan79.2%
Magenta0.0%
Yellow56.6%
Key (black)16.9%

Color previews

#2cd45c text on a black background

contrast 10.68:1

Card sample

#2cd45c text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2cd45c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2cd45c in the Color Lab