Skip to content

#aaef1f

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

RGB
170, 239, 31
HSL
80°, 87%, 53%
CMYK
29, 0, 87, 6
Luminance
0.7038

Every format

HEX#aaef1f
RGBrgb(170, 239, 31)
HSLhsl(80, 87%, 53%)
CMYKcmyk(29%, 0%, 87%, 6%)
LABlab(87.2 -47.4 81.0)
LCHlch(87.2 93.9 120.3)
OKLCHoklch(0.874 0.222 128.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aaef1f on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#aaef1f on black: 15.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green93.7%
Blue12.2%

CMYK percentages

Cyan28.9%
Magenta0.0%
Yellow87.0%
Key (black)6.3%

Color previews

#aaef1f text on a black background

contrast 15.08:1

Card sample

#aaef1f text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(170, 239, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(170, 239, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aaef1f;
background: linear-gradient(135deg, #aaef1f, #1FEF1F);

Monochromatic scale

Palettes built from #aaef1f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aaef1f in the Color Lab