Skip to content

#8bc948

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

RGB
139, 201, 72
HSL
89°, 54%, 54%
CMYK
31, 0, 64, 21
Luminance
0.4773

Every format

HEX#8bc948
RGBrgb(139, 201, 72)
HSLhsl(89, 54%, 54%)
CMYKcmyk(31%, 0%, 64%, 21%)
LABlab(74.7 -40.4 56.3)
LCHlch(74.7 69.3 125.7)
OKLCHoklch(0.768 0.172 131.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8bc948 on white: 1.99:1
AA ✗ fail · AA-large · AAA
Aa
#8bc948 on black: 10.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.5%
Green78.8%
Blue28.2%

CMYK percentages

Cyan30.8%
Magenta0.0%
Yellow64.2%
Key (black)21.2%

Color previews

#8bc948 text on a black background

contrast 10.55:1

Card sample

#8bc948 text on a white background

contrast 1.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(139, 201, 72, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(139, 201, 72, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8bc948;
background: linear-gradient(135deg, #8bc948, #48C95B);

Monochromatic scale

Palettes built from #8bc948

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8bc948 in the Color Lab