Skip to content

#4fcc2f

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

RGB
79, 204, 47
HSL
108°, 63%, 49%
CMYK
61, 0, 77, 20
Luminance
0.4505

Every format

HEX#4fcc2f
RGBrgb(79, 204, 47)
HSLhsl(108, 63%, 49%)
CMYKcmyk(61%, 0%, 77%, 20%)
LABlab(72.9 -61.5 62.9)
LCHlch(72.9 88.0 134.4)
OKLCHoklch(0.746 0.220 140.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4fcc2f on white: 2.10:1
AA ✗ fail · AA-large · AAA
Aa
#4fcc2f on black: 10.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red31.0%
Green80.0%
Blue18.4%

CMYK percentages

Cyan61.3%
Magenta0.0%
Yellow77.0%
Key (black)20.0%

Color previews

#4fcc2f text on a black background

contrast 10.01:1

Card sample

#4fcc2f text on a white background

contrast 2.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4fcc2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4fcc2f in the Color Lab