Skip to content

#aaef21

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

RGB
170, 239, 33
HSL
80°, 87%, 53%
CMYK
29, 0, 86, 6
Luminance
0.7039

Every format

HEX#aaef21
RGBrgb(170, 239, 33)
HSLhsl(80, 87%, 53%)
CMYKcmyk(29%, 0%, 86%, 6%)
LABlab(87.2 -47.4 80.7)
LCHlch(87.2 93.6 120.4)
OKLCHoklch(0.874 0.222 128.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aaef21 on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#aaef21 on black: 15.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green93.7%
Blue12.9%

CMYK percentages

Cyan28.9%
Magenta0.0%
Yellow86.2%
Key (black)6.3%

Color previews

#aaef21 text on a black background

contrast 15.08:1

Card sample

#aaef21 text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aaef21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aaef21 in the Color Lab