Skip to content

#aaa400

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

RGB
170, 164, 0
HSL
58°, 100%, 33%
CMYK
0, 4, 100, 33
Luminance
0.3510

Every format

HEX#aaa400
RGBrgb(170, 164, 0)
HSLhsl(58, 100%, 33%)
CMYKcmyk(0%, 4%, 100%, 33%)
LABlab(65.8 -12.8 68.5)
LCHlch(65.8 69.7 100.6)
OKLCHoklch(0.701 0.150 107.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aaa400 on white: 2.62:1
AA ✗ fail · AA-large · AAA
Aa
#aaa400 on black: 8.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green64.3%
Blue0.0%

CMYK percentages

Cyan0.0%
Magenta3.5%
Yellow100.0%
Key (black)33.3%

Color previews

#aaa400 text on a black background

contrast 8.02:1

Card sample

#aaa400 text on a white background

contrast 2.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aaa400

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aaa400 in the Color Lab