Skip to content

#8fac49

a balanced, soft green · cool · closest name: olivedrab

RGB
143, 172, 73
HSL
78°, 40%, 48%
CMYK
17, 0, 58, 33
Luminance
0.3583

Every format

HEX#8fac49
RGBrgb(143, 172, 73)
HSLhsl(78, 40%, 48%)
CMYKcmyk(17%, 0%, 58%, 33%)
LABlab(66.4 -25.3 46.8)
LCHlch(66.4 53.1 118.4)
OKLCHoklch(0.702 0.131 123.4)

Copy-ready code

/* CSS */
color: #8fac49;
background-color: #8fac49;
/* Tailwind (arbitrary) */
class="text-[#8fac49] bg-[#8fac49]"
/* SCSS */
$brand: #8fac49;
/* SwiftUI */
Color(red: 0.561, green: 0.675, blue: 0.286)
/* Android */
Color.parseColor("#8fac49")

Accessibility — WCAG contrast

Aa
#8fac49 on white: 2.57:1
AA ✗ fail · AA-large · AAA
Aa
#8fac49 on black: 8.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red56.1%
Green67.5%
Blue28.6%

CMYK percentages

Cyan16.9%
Magenta0.0%
Yellow57.6%
Key (black)32.5%

Color previews

#8fac49 text on a black background

contrast 8.17:1

Card sample

#8fac49 text on a white background

contrast 2.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #8fac49;
Background color
Panel with #8fac49 background
background-color: #8fac49;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(143, 172, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(143, 172, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8fac49;
background: linear-gradient(135deg, #8fac49, #4DAC49);

Monochromatic scale

Palettes built from #8fac49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8fac49 in the Color Lab