Skip to content

#aaff21

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

RGB
170, 255, 33
HSL
83°, 100%, 57%
CMYK
33, 0, 87, 0
Luminance
0.8018

Every format

HEX#aaff21
RGBrgb(170, 255, 33)
HSLhsl(83, 100%, 57%)
CMYKcmyk(33%, 0%, 87%, 0%)
LABlab(91.8 -54.0 84.5)
LCHlch(91.8 100.3 122.6)
OKLCHoklch(0.911 0.239 130.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aaff21 on white: 1.23:1
AA ✗ fail · AA-large · AAA
Aa
#aaff21 on black: 17.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green100.0%
Blue12.9%

CMYK percentages

Cyan33.3%
Magenta0.0%
Yellow87.1%
Key (black)0.0%

Color previews

#aaff21 text on a black background

contrast 17.04:1

Card sample

#aaff21 text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aaff21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aaff21 in the Color Lab