Skip to content

#4df20f

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

RGB
77, 242, 15
HSL
104°, 90%, 50%
CMYK
68, 0, 94, 5
Luminance
0.6512

Every format

HEX#4df20f
RGBrgb(77, 242, 15)
HSLhsl(104, 90%, 50%)
CMYKcmyk(68%, 0%, 94%, 5%)
LABlab(84.5 -75.3 79.7)
LCHlch(84.5 109.7 133.4)
OKLCHoklch(0.842 0.269 140.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4df20f on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#4df20f on black: 14.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red30.2%
Green94.9%
Blue5.9%

CMYK percentages

Cyan68.2%
Magenta0.0%
Yellow93.8%
Key (black)5.1%

Color previews

#4df20f text on a black background

contrast 14.02:1

Card sample

#4df20f text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(77, 242, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(77, 242, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4df20f;
background: linear-gradient(135deg, #4df20f, #0FF268);

Monochromatic scale

Palettes built from #4df20f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4df20f in the Color Lab