Skip to content

#8bcd21

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

RGB
139, 205, 33
HSL
83°, 72%, 47%
CMYK
32, 0, 84, 20
Luminance
0.4926

Every format

HEX#8bcd21
RGBrgb(139, 205, 33)
HSLhsl(83, 72%, 47%)
CMYKcmyk(32%, 0%, 84%, 20%)
LABlab(75.6 -44.3 70.1)
LCHlch(75.6 83.0 122.3)
OKLCHoklch(0.775 0.199 129.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8bcd21 on white: 1.94:1
AA ✗ fail · AA-large · AAA
Aa
#8bcd21 on black: 10.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.5%
Green80.4%
Blue12.9%

CMYK percentages

Cyan32.2%
Magenta0.0%
Yellow83.9%
Key (black)19.6%

Color previews

#8bcd21 text on a black background

contrast 10.85:1

Card sample

#8bcd21 text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8bcd21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8bcd21 in the Color Lab