Skip to content

#9dfb21

a balanced, electric green · cool · closest name: lime

RGB
157, 251, 33
HSL
86°, 97%, 56%
CMYK
38, 0, 87, 2
Luminance
0.7627

Every format

HEX#9dfb21
RGBrgb(157, 251, 33)
HSLhsl(86, 97%, 56%)
CMYKcmyk(38%, 0%, 87%, 2%)
LABlab(90.0 -56.8 82.8)
LCHlch(90.0 100.4 124.5)
OKLCHoklch(0.895 0.241 132.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9dfb21 on white: 1.29:1
AA ✗ fail · AA-large · AAA
Aa
#9dfb21 on black: 16.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red61.6%
Green98.4%
Blue12.9%

CMYK percentages

Cyan37.5%
Magenta0.0%
Yellow86.9%
Key (black)1.6%

Color previews

#9dfb21 text on a black background

contrast 16.25:1

Card sample

#9dfb21 text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9dfb21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9dfb21 in the Color Lab