Skip to content

#8bc921

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

RGB
139, 201, 33
HSL
82°, 72%, 46%
CMYK
31, 0, 84, 21
Luminance
0.4737

Every format

HEX#8bc921
RGBrgb(139, 201, 33)
HSLhsl(82, 72%, 46%)
CMYKcmyk(31%, 0%, 84%, 21%)
LABlab(74.4 -42.6 69.1)
LCHlch(74.4 81.2 121.7)
OKLCHoklch(0.765 0.194 129.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8bc921 on white: 2.00:1
AA ✗ fail · AA-large · AAA
Aa
#8bc921 on black: 10.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.5%
Green78.8%
Blue12.9%

CMYK percentages

Cyan30.8%
Magenta0.0%
Yellow83.6%
Key (black)21.2%

Color previews

#8bc921 text on a black background

contrast 10.47:1

Card sample

#8bc921 text on a white background

contrast 2.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8bc921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8bc921 in the Color Lab