Skip to content

#4ecc21

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

RGB
78, 204, 33
HSL
104°, 72%, 47%
CMYK
62, 0, 84, 20
Luminance
0.4492

Every format

HEX#4ecc21
RGBrgb(78, 204, 33)
HSLhsl(104, 72%, 47%)
CMYKcmyk(62%, 0%, 84%, 20%)
LABlab(72.8 -62.5 66.7)
LCHlch(72.8 91.4 133.1)
OKLCHoklch(0.745 0.226 139.5)

Copy-ready code

/* CSS */
color: #4ecc21;
background-color: #4ecc21;
/* Tailwind (arbitrary) */
class="text-[#4ecc21] bg-[#4ecc21]"
/* SCSS */
$brand: #4ecc21;
/* SwiftUI */
Color(red: 0.306, green: 0.800, blue: 0.129)
/* Android */
Color.parseColor("#4ecc21")

Accessibility — WCAG contrast

Aa
#4ecc21 on white: 2.10:1
AA ✗ fail · AA-large · AAA
Aa
#4ecc21 on black: 9.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red30.6%
Green80.0%
Blue12.9%

CMYK percentages

Cyan61.8%
Magenta0.0%
Yellow83.8%
Key (black)20.0%

Color previews

#4ecc21 text on a black background

contrast 9.98:1

Card sample

#4ecc21 text on a white background

contrast 2.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #4ecc21;
Background color
Panel with #4ecc21 background
background-color: #4ecc21;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(78, 204, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(78, 204, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4ecc21;
background: linear-gradient(135deg, #4ecc21, #21CC66);

Monochromatic scale

Palettes built from #4ecc21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4ecc21 in the Color Lab