Skip to content

#4cfb2d

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

RGB
76, 251, 45
HSL
111°, 96%, 58%
CMYK
70, 0, 82, 2
Luminance
0.7072

Every format

HEX#4cfb2d
RGBrgb(76, 251, 45)
HSLhsl(111, 96%, 58%)
CMYKcmyk(70%, 0%, 82%, 2%)
LABlab(87.3 -77.3 76.9)
LCHlch(87.3 109.0 135.1)
OKLCHoklch(0.866 0.271 141.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4cfb2d on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#4cfb2d on black: 15.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red29.8%
Green98.4%
Blue17.6%

CMYK percentages

Cyan69.7%
Magenta0.0%
Yellow82.1%
Key (black)1.6%

Color previews

#4cfb2d text on a black background

contrast 15.14:1

Card sample

#4cfb2d text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4cfb2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4cfb2d in the Color Lab