Skip to content

#9cd921

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

RGB
156, 217, 33
HSL
80°, 74%, 49%
CMYK
28, 0, 85, 15
Luminance
0.5680

Every format

HEX#9cd921
RGBrgb(156, 217, 33)
HSLhsl(80, 74%, 49%)
CMYKcmyk(28%, 0%, 85%, 15%)
LABlab(80.1 -43.2 74.3)
LCHlch(80.1 86.0 120.2)
OKLCHoklch(0.814 0.204 127.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9cd921 on white: 1.70:1
AA ✗ fail · AA-large · AAA
Aa
#9cd921 on black: 12.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red61.2%
Green85.1%
Blue12.9%

CMYK percentages

Cyan28.1%
Magenta0.0%
Yellow84.8%
Key (black)14.9%

Color previews

#9cd921 text on a black background

contrast 12.36:1

Card sample

#9cd921 text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #9cd921;
Background color
Panel with #9cd921 background
background-color: #9cd921;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(156, 217, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(156, 217, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9cd921;
background: linear-gradient(135deg, #9cd921, #21D921);

Monochromatic scale

Palettes built from #9cd921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9cd921 in the Color Lab