Skip to content

#9aff21

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

RGB
154, 255, 33
HSL
87°, 100%, 57%
CMYK
40, 0, 87, 0
Luminance
0.7850

Every format

HEX#9aff21
RGBrgb(154, 255, 33)
HSLhsl(87, 100%, 57%)
CMYKcmyk(40%, 0%, 87%, 0%)
LABlab(91.0 -59.3 83.6)
LCHlch(91.0 102.5 125.4)
OKLCHoklch(0.903 0.247 132.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9aff21 on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#9aff21 on black: 16.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red60.4%
Green100.0%
Blue12.9%

CMYK percentages

Cyan39.6%
Magenta0.0%
Yellow87.1%
Key (black)0.0%

Color previews

#9aff21 text on a black background

contrast 16.70:1

Card sample

#9aff21 text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9aff21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9aff21 in the Color Lab