Skip to content

#8fc921

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

RGB
143, 201, 33
HSL
81°, 72%, 46%
CMYK
29, 0, 84, 21
Luminance
0.4772

Every format

HEX#8fc921
RGBrgb(143, 201, 33)
HSLhsl(81, 72%, 46%)
CMYKcmyk(29%, 0%, 84%, 21%)
LABlab(74.7 -41.1 69.4)
LCHlch(74.7 80.7 120.7)
OKLCHoklch(0.768 0.192 128.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red56.1%
Green78.8%
Blue12.9%

CMYK percentages

Cyan28.9%
Magenta0.0%
Yellow83.6%
Key (black)21.2%

Color previews

#8fc921 text on a black background

contrast 10.54:1

Card sample

#8fc921 text on a white background

contrast 1.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8fc921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8fc921 in the Color Lab