Skip to content

#4cc40c

a dark, electric green · cool · closest name: green

RGB
76, 196, 12
HSL
99°, 89%, 41%
CMYK
61, 0, 94, 23
Luminance
0.4104

Every format

HEX#4cc40c
RGBrgb(76, 196, 12)
HSLhsl(99, 89%, 41%)
CMYKcmyk(61%, 0%, 94%, 23%)
LABlab(70.2 -61.0 68.3)
LCHlch(70.2 91.5 131.8)
OKLCHoklch(0.723 0.224 138.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4cc40c on white: 2.28:1
AA ✗ fail · AA-large · AAA
Aa
#4cc40c on black: 9.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red29.8%
Green76.9%
Blue4.7%

CMYK percentages

Cyan61.2%
Magenta0.0%
Yellow93.9%
Key (black)23.1%

Color previews

#4cc40c text on a black background

contrast 9.21:1

Card sample

#4cc40c text on a white background

contrast 2.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4cc40c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4cc40c in the Color Lab