Skip to content

#4fdf40

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

RGB
79, 223, 64
HSL
114°, 71%, 56%
CMYK
65, 0, 71, 13
Luminance
0.5481

Every format

HEX#4fdf40
RGBrgb(79, 223, 64)
HSLhsl(114, 71%, 56%)
CMYKcmyk(65%, 0%, 71%, 13%)
LABlab(78.9 -66.7 63.2)
LCHlch(78.9 91.9 136.6)
OKLCHoklch(0.796 0.232 141.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4fdf40 on white: 1.76:1
AA ✗ fail · AA-large · AAA
Aa
#4fdf40 on black: 11.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red31.0%
Green87.5%
Blue25.1%

CMYK percentages

Cyan64.6%
Magenta0.0%
Yellow71.3%
Key (black)12.5%

Color previews

#4fdf40 text on a black background

contrast 11.96:1

Card sample

#4fdf40 text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(79, 223, 64, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(79, 223, 64, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4fdf40;
background: linear-gradient(135deg, #4fdf40, #40DF9B);

Monochromatic scale

Palettes built from #4fdf40

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4fdf40 in the Color Lab