Skip to content

#4fd45f

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

RGB
79, 212, 95
HSL
127°, 61%, 57%
CMYK
63, 0, 55, 17
Luminance
0.4958

Every format

HEX#4fd45f
RGBrgb(79, 212, 95)
HSLhsl(127, 61%, 57%)
CMYKcmyk(63%, 0%, 55%, 17%)
LABlab(75.8 -59.8 46.8)
LCHlch(75.8 75.9 142.0)
OKLCHoklch(0.771 0.196 145.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4fd45f on white: 1.92:1
AA ✗ fail · AA-large · AAA
Aa
#4fd45f on black: 10.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red31.0%
Green83.1%
Blue37.3%

CMYK percentages

Cyan62.7%
Magenta0.0%
Yellow55.2%
Key (black)16.9%

Color previews

#4fd45f text on a black background

contrast 10.92:1

Card sample

#4fd45f text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4fd45f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4fd45f in the Color Lab