Skip to content

#8bab49

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

RGB
139, 171, 73
HSL
80°, 40%, 48%
CMYK
19, 0, 57, 33
Luminance
0.3510

Every format

HEX#8bab49
RGBrgb(139, 171, 73)
HSLhsl(80, 40%, 48%)
CMYKcmyk(19%, 0%, 57%, 33%)
LABlab(65.8 -26.4 46.0)
LCHlch(65.8 53.1 119.8)
OKLCHoklch(0.696 0.131 124.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8bab49 on white: 2.62:1
AA ✗ fail · AA-large · AAA
Aa
#8bab49 on black: 8.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.5%
Green67.1%
Blue28.6%

CMYK percentages

Cyan18.7%
Magenta0.0%
Yellow57.3%
Key (black)32.9%

Color previews

#8bab49 text on a black background

contrast 8.02:1

Card sample

#8bab49 text on a white background

contrast 2.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8bab49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8bab49 in the Color Lab