Skip to content

#8cc921

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

RGB
140, 201, 33
HSL
82°, 72%, 46%
CMYK
30, 0, 84, 21
Luminance
0.4746

Every format

HEX#8cc921
RGBrgb(140, 201, 33)
HSLhsl(82, 72%, 46%)
CMYKcmyk(30%, 0%, 84%, 21%)
LABlab(74.5 -42.3 69.2)
LCHlch(74.5 81.0 121.4)
OKLCHoklch(0.766 0.194 128.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#8cc921 text on a black background

contrast 10.49:1

Card sample

#8cc921 text on a white background

contrast 2.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8cc921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8cc921 in the Color Lab