Skip to content

#4fec7f

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

RGB
79, 236, 127
HSL
138°, 81%, 62%
CMYK
67, 0, 46, 8
Luminance
0.6319

Every format

HEX#4fec7f
RGBrgb(79, 236, 127)
HSLhsl(138, 81%, 62%)
CMYKcmyk(67%, 0%, 46%, 8%)
LABlab(83.5 -63.8 41.0)
LCHlch(83.5 75.8 147.3)
OKLCHoklch(0.837 0.199 149.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4fec7f on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#4fec7f on black: 13.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red31.0%
Green92.5%
Blue49.8%

CMYK percentages

Cyan66.5%
Magenta0.0%
Yellow46.2%
Key (black)7.5%

Color previews

#4fec7f text on a black background

contrast 13.64:1

Card sample

#4fec7f text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4fec7f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4fec7f in the Color Lab