Skip to content

#8bcb21

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

RGB
139, 203, 33
HSL
83°, 72%, 46%
CMYK
32, 0, 84, 20
Luminance
0.4831

Every format

HEX#8bcb21
RGBrgb(139, 203, 33)
HSLhsl(83, 72%, 46%)
CMYKcmyk(32%, 0%, 84%, 20%)
LABlab(75.0 -43.5 69.6)
LCHlch(75.0 82.1 122.0)
OKLCHoklch(0.770 0.196 129.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8bcb21 on white: 1.97:1
AA ✗ fail · AA-large · AAA
Aa
#8bcb21 on black: 10.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.5%
Green79.6%
Blue12.9%

CMYK percentages

Cyan31.5%
Magenta0.0%
Yellow83.7%
Key (black)20.4%

Color previews

#8bcb21 text on a black background

contrast 10.66:1

Card sample

#8bcb21 text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8bcb21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8bcb21 in the Color Lab