Skip to content

#4df402

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

RGB
77, 244, 2
HSL
101°, 98%, 48%
CMYK
68, 0, 99, 4
Luminance
0.6628

Every format

HEX#4df402
RGBrgb(77, 244, 2)
HSLhsl(101, 98%, 48%)
CMYKcmyk(68%, 0%, 99%, 4%)
LABlab(85.1 -76.1 81.3)
LCHlch(85.1 111.4 133.1)
OKLCHoklch(0.847 0.273 140.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4df402 on white: 1.47:1
AA ✗ fail · AA-large · AAA
Aa
#4df402 on black: 14.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red30.2%
Green95.7%
Blue0.8%

CMYK percentages

Cyan68.4%
Magenta0.0%
Yellow99.2%
Key (black)4.3%

Color previews

#4df402 text on a black background

contrast 14.26:1

Card sample

#4df402 text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(77, 244, 2, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(77, 244, 2, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4df402;
background: linear-gradient(135deg, #4df402, #02F458);

Monochromatic scale

Palettes built from #4df402

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4df402 in the Color Lab