Skip to content

#8cb82f

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

RGB
140, 184, 47
HSL
79°, 59%, 45%
CMYK
24, 0, 75, 28
Luminance
0.4006

Every format

HEX#8cb82f
RGBrgb(140, 184, 47)
HSLhsl(79, 59%, 45%)
CMYKcmyk(24%, 0%, 75%, 28%)
LABlab(69.5 -34.0 60.6)
LCHlch(69.5 69.5 119.3)
OKLCHoklch(0.726 0.167 126.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8cb82f on white: 2.33:1
AA ✗ fail · AA-large · AAA
Aa
#8cb82f on black: 9.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.9%
Green72.2%
Blue18.4%

CMYK percentages

Cyan23.9%
Magenta0.0%
Yellow74.5%
Key (black)27.8%

Color previews

#8cb82f text on a black background

contrast 9.01:1

Card sample

#8cb82f text on a white background

contrast 2.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(140, 184, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(140, 184, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8cb82f;
background: linear-gradient(135deg, #8cb82f, #31B82F);

Monochromatic scale

Palettes built from #8cb82f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8cb82f in the Color Lab