Skip to content

#4fad2f

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

RGB
79, 173, 47
HSL
105°, 57%, 43%
CMYK
54, 0, 73, 32
Luminance
0.3175

Every format

HEX#4fad2f
RGBrgb(79, 173, 47)
HSLhsl(105, 57%, 43%)
CMYKcmyk(54%, 0%, 73%, 32%)
LABlab(63.1 -50.4 53.3)
LCHlch(63.1 73.3 133.4)
OKLCHoklch(0.665 0.184 139.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4fad2f on white: 2.86:1
AA ✗ fail · AA-large · AAA
Aa
#4fad2f on black: 7.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red31.0%
Green67.8%
Blue18.4%

CMYK percentages

Cyan54.3%
Magenta0.0%
Yellow72.8%
Key (black)32.2%

Color previews

#4fad2f text on a black background

contrast 7.35:1

Card sample

#4fad2f text on a white background

contrast 2.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4fad2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4fad2f in the Color Lab