Skip to content

#4fec2f

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

RGB
79, 236, 47
HSL
110°, 83%, 56%
CMYK
67, 0, 80, 8
Luminance
0.6186

Every format

HEX#4fec2f
RGBrgb(79, 236, 47)
HSLhsl(110, 83%, 56%)
CMYKcmyk(67%, 0%, 80%, 8%)
LABlab(82.8 -72.0 72.3)
LCHlch(82.8 102.0 134.9)
OKLCHoklch(0.828 0.254 140.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red31.0%
Green92.5%
Blue18.4%

CMYK percentages

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

Color previews

#4fec2f text on a black background

contrast 13.37:1

Card sample

#4fec2f text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4fec2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4fec2f in the Color Lab