Skip to content

#aa9900

a dark, electric yellow · cool · closest name: olive

RGB
170, 153, 0
HSL
54°, 100%, 33%
CMYK
0, 10, 100, 33
Luminance
0.3133

Every format

HEX#aa9900
RGBrgb(170, 153, 0)
HSLhsl(54, 100%, 33%)
CMYKcmyk(0%, 10%, 100%, 33%)
LABlab(62.8 -7.0 66.3)
LCHlch(62.8 66.7 96.0)
OKLCHoklch(0.677 0.141 101.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aa9900 on white: 2.89:1
AA ✗ fail · AA-large · AAA
Aa
#aa9900 on black: 7.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green60.0%
Blue0.0%

CMYK percentages

Cyan0.0%
Magenta10.0%
Yellow100.0%
Key (black)33.3%

Color previews

#aa9900 text on a black background

contrast 7.27:1

Card sample

#aa9900 text on a white background

contrast 2.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aa9900

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aa9900 in the Color Lab