Skip to content

#aaaf99

a balanced, muted green · cool · closest name: silver

RGB
170, 175, 153
HSL
74°, 12%, 64%
CMYK
3, 0, 13, 31
Luminance
0.4151

Every format

HEX#aaaf99
RGBrgb(170, 175, 153)
HSLhsl(74, 12%, 64%)
CMYKcmyk(3%, 0%, 13%, 31%)
LABlab(70.5 -5.7 10.7)
LCHlch(70.5 12.1 118.2)
OKLCHoklch(0.744 0.031 117.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aaaf99 on white: 2.26:1
AA ✗ fail · AA-large · AAA
Aa
#aaaf99 on black: 9.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green68.6%
Blue60.0%

CMYK percentages

Cyan2.9%
Magenta0.0%
Yellow12.6%
Key (black)31.4%

Color previews

#aaaf99 text on a black background

contrast 9.30:1

Card sample

#aaaf99 text on a white background

contrast 2.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(170, 175, 153, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(170, 175, 153, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aaaf99;
background: linear-gradient(135deg, #aaaf99, #9BAF99);

Monochromatic scale

Palettes built from #aaaf99

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aaaf99 in the Color Lab