Skip to content

#8acb49

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

RGB
138, 203, 73
HSL
90°, 56%, 54%
CMYK
32, 0, 64, 20
Luminance
0.4860

Every format

HEX#8acb49
RGBrgb(138, 203, 73)
HSLhsl(90, 56%, 54%)
CMYKcmyk(32%, 0%, 64%, 20%)
LABlab(75.2 -41.5 56.4)
LCHlch(75.2 70.1 126.4)
OKLCHoklch(0.772 0.174 131.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8acb49 on white: 1.96:1
AA ✗ fail · AA-large · AAA
Aa
#8acb49 on black: 10.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.1%
Green79.6%
Blue28.6%

CMYK percentages

Cyan32.0%
Magenta0.0%
Yellow64.0%
Key (black)20.4%

Color previews

#8acb49 text on a black background

contrast 10.72:1

Card sample

#8acb49 text on a white background

contrast 1.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(138, 203, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(138, 203, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8acb49;
background: linear-gradient(135deg, #8acb49, #49CB5F);

Monochromatic scale

Palettes built from #8acb49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8acb49 in the Color Lab