Skip to content

#9bdc21

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

RGB
155, 220, 33
HSL
81°, 74%, 50%
CMYK
30, 0, 85, 14
Luminance
0.5826

Every format

HEX#9bdc21
RGBrgb(155, 220, 33)
HSLhsl(81, 74%, 50%)
CMYKcmyk(30%, 0%, 85%, 14%)
LABlab(80.9 -44.8 75.0)
LCHlch(80.9 87.4 120.9)
OKLCHoklch(0.820 0.208 128.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9bdc21 on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#9bdc21 on black: 12.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red60.8%
Green86.3%
Blue12.9%

CMYK percentages

Cyan29.5%
Magenta0.0%
Yellow85.0%
Key (black)13.7%

Color previews

#9bdc21 text on a black background

contrast 12.65:1

Card sample

#9bdc21 text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9bdc21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9bdc21 in the Color Lab