Skip to content

#aaff8b

a light, electric green · cool · closest name: khaki

RGB
170, 255, 139
HSL
104°, 100%, 77%
CMYK
33, 0, 46, 0
Luminance
0.8193

Every format

HEX#aaff8b
RGBrgb(170, 255, 139)
HSLhsl(104, 100%, 77%)
CMYKcmyk(33%, 0%, 46%, 0%)
LABlab(92.5 -46.2 47.3)
LCHlch(92.5 66.1 134.3)
OKLCHoklch(0.920 0.171 137.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aaff8b on white: 1.21:1
AA ✗ fail · AA-large · AAA
Aa
#aaff8b on black: 17.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green100.0%
Blue54.5%

CMYK percentages

Cyan33.3%
Magenta0.0%
Yellow45.5%
Key (black)0.0%

Color previews

#aaff8b text on a black background

contrast 17.39:1

Card sample

#aaff8b text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aaff8b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aaff8b in the Color Lab