Skip to content

#aaff02

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

RGB
170, 255, 2
HSL
80°, 100%, 50%
CMYK
33, 0, 99, 0
Luminance
0.8007

Every format

HEX#aaff02
RGBrgb(170, 255, 2)
HSLhsl(80, 100%, 50%)
CMYKcmyk(33%, 0%, 99%, 0%)
LABlab(91.7 -54.4 87.9)
LCHlch(91.7 103.4 121.8)
OKLCHoklch(0.910 0.244 129.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red66.7%
Green100.0%
Blue0.8%

CMYK percentages

Cyan33.3%
Magenta0.0%
Yellow99.2%
Key (black)0.0%

Color previews

#aaff02 text on a black background

contrast 17.01:1

Card sample

#aaff02 text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aaff02

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aaff02 in the Color Lab