Skip to content

#2cc040

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

RGB
44, 192, 64
HSL
128°, 63%, 46%
CMYK
77, 0, 67, 25
Luminance
0.3860

Every format

HEX#2cc040
RGBrgb(44, 192, 64)
HSLhsl(128, 63%, 46%)
CMYKcmyk(77%, 0%, 67%, 25%)
LABlab(68.5 -62.7 51.9)
LCHlch(68.5 81.4 140.4)
OKLCHoklch(0.708 0.207 144.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2cc040 on white: 2.41:1
AA ✗ fail · AA-large · AAA
Aa
#2cc040 on black: 8.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.3%
Green75.3%
Blue25.1%

CMYK percentages

Cyan77.1%
Magenta0.0%
Yellow66.7%
Key (black)24.7%

Color previews

#2cc040 text on a black background

contrast 8.72:1

Card sample

#2cc040 text on a white background

contrast 2.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2cc040

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2cc040 in the Color Lab