Skip to content

#4cf921

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

RGB
76, 249, 33
HSL
108°, 95%, 55%
CMYK
70, 0, 87, 2
Luminance
0.6940

Every format

HEX#4cf921
RGBrgb(76, 249, 33)
HSLhsl(108, 95%, 55%)
CMYKcmyk(70%, 0%, 87%, 2%)
LABlab(86.7 -77.2 78.9)
LCHlch(86.7 110.4 134.4)
OKLCHoklch(0.860 0.273 140.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4cf921 on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#4cf921 on black: 14.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red29.8%
Green97.6%
Blue12.9%

CMYK percentages

Cyan69.5%
Magenta0.0%
Yellow86.7%
Key (black)2.4%

Color previews

#4cf921 text on a black background

contrast 14.88:1

Card sample

#4cf921 text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4cf921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4cf921 in the Color Lab