Skip to content

#9ffc21

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

RGB
159, 252, 33
HSL
86°, 97%, 56%
CMYK
37, 0, 87, 1
Luminance
0.7710

Every format

HEX#9ffc21
RGBrgb(159, 252, 33)
HSLhsl(86, 97%, 56%)
CMYKcmyk(37%, 0%, 87%, 1%)
LABlab(90.4 -56.5 83.1)
LCHlch(90.4 100.5 124.2)
OKLCHoklch(0.898 0.241 131.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9ffc21 on white: 1.28:1
AA ✗ fail · AA-large · AAA
Aa
#9ffc21 on black: 16.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red62.4%
Green98.8%
Blue12.9%

CMYK percentages

Cyan36.9%
Magenta0.0%
Yellow86.9%
Key (black)1.2%

Color previews

#9ffc21 text on a black background

contrast 16.42:1

Card sample

#9ffc21 text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9ffc21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9ffc21 in the Color Lab