Skip to content

#4f9213

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

RGB
79, 146, 19
HSL
92°, 77%, 32%
CMYK
46, 0, 87, 43
Luminance
0.2227

Every format

HEX#4f9213
RGBrgb(79, 146, 19)
HSLhsl(92, 77%, 32%)
CMYKcmyk(46%, 0%, 87%, 43%)
LABlab(54.3 -41.4 53.7)
LCHlch(54.3 67.8 127.6)
OKLCHoklch(0.592 0.165 134.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4f9213 on white: 3.85:1
AA ✗ fail · AA-large · AAA
Aa
#4f9213 on black: 5.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red31.0%
Green57.3%
Blue7.5%

CMYK percentages

Cyan45.9%
Magenta0.0%
Yellow87.0%
Key (black)42.7%

Color previews

#4f9213 text on a black background

contrast 5.45:1

Card sample

#4f9213 text on a white background

contrast 3.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(79, 146, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(79, 146, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4f9213;
background: linear-gradient(135deg, #4f9213, #13922C);

Monochromatic scale

Palettes built from #4f9213

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4f9213 in the Color Lab