Skip to content

#aaf921

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

RGB
170, 249, 33
HSL
82°, 95%, 55%
CMYK
32, 0, 87, 2
Luminance
0.7641

Every format

HEX#aaf921
RGBrgb(170, 249, 33)
HSLhsl(82, 95%, 55%)
CMYKcmyk(32%, 0%, 87%, 2%)
LABlab(90.0 -51.5 83.1)
LCHlch(90.0 97.8 121.8)
OKLCHoklch(0.897 0.233 129.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red66.7%
Green97.6%
Blue12.9%

CMYK percentages

Cyan31.7%
Magenta0.0%
Yellow86.7%
Key (black)2.4%

Color previews

#aaf921 text on a black background

contrast 16.28:1

Card sample

#aaf921 text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aaf921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aaf921 in the Color Lab