Skip to content

#aafd2c

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

RGB
170, 253, 44
HSL
84°, 98%, 58%
CMYK
33, 0, 83, 1
Luminance
0.7898

Every format

HEX#aafd2c
RGBrgb(170, 253, 44)
HSLhsl(84, 98%, 58%)
CMYKcmyk(33%, 0%, 83%, 1%)
LABlab(91.2 -52.8 81.8)
LCHlch(91.2 97.4 122.8)
OKLCHoklch(0.907 0.234 130.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aafd2c on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#aafd2c on black: 16.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green99.2%
Blue17.3%

CMYK percentages

Cyan32.8%
Magenta0.0%
Yellow82.6%
Key (black)0.8%

Color previews

#aafd2c text on a black background

contrast 16.80:1

Card sample

#aafd2c text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aafd2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aafd2c in the Color Lab