Skip to content

#aaf8ac

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

RGB
170, 248, 172
HSL
122°, 85%, 82%
CMYK
32, 0, 31, 3
Luminance
0.7866

Every format

HEX#aaf8ac
RGBrgb(170, 248, 172)
HSLhsl(122, 85%, 82%)
CMYKcmyk(32%, 0%, 31%, 3%)
LABlab(91.1 -38.5 29.1)
LCHlch(91.1 48.2 142.9)
OKLCHoklch(0.910 0.128 145.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aaf8ac on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#aaf8ac on black: 16.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green97.3%
Blue67.5%

CMYK percentages

Cyan31.5%
Magenta0.0%
Yellow30.6%
Key (black)2.7%

Color previews

#aaf8ac text on a black background

contrast 16.73:1

Card sample

#aaf8ac text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aaf8ac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aaf8ac in the Color Lab