Skip to content

#4fec2d

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

RGB
79, 236, 45
HSL
109°, 83%, 55%
CMYK
67, 0, 81, 8
Luminance
0.6184

Every format

HEX#4fec2d
RGBrgb(79, 236, 45)
HSLhsl(109, 83%, 55%)
CMYKcmyk(67%, 0%, 81%, 8%)
LABlab(82.8 -72.1 72.8)
LCHlch(82.8 102.5 134.7)
OKLCHoklch(0.828 0.255 140.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4fec2d on white: 1.57:1
AA ✗ fail · AA-large · AAA
Aa
#4fec2d on black: 13.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red31.0%
Green92.5%
Blue17.6%

CMYK percentages

Cyan66.5%
Magenta0.0%
Yellow80.9%
Key (black)7.5%

Color previews

#4fec2d text on a black background

contrast 13.37:1

Card sample

#4fec2d text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4fec2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4fec2d in the Color Lab