Skip to content

#aaff22

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

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

Every format

HEX#aaff22
RGBrgb(170, 255, 34)
HSLhsl(83, 100%, 57%)
CMYKcmyk(33%, 0%, 87%, 0%)
LABlab(91.8 -53.9 84.3)
LCHlch(91.8 100.1 122.6)
OKLCHoklch(0.911 0.239 130.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red66.7%
Green100.0%
Blue13.3%

CMYK percentages

Cyan33.3%
Magenta0.0%
Yellow86.7%
Key (black)0.0%

Color previews

#aaff22 text on a black background

contrast 17.04:1

Card sample

#aaff22 text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aaff22

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aaff22 in the Color Lab