Skip to content

#aaa422

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

RGB
170, 164, 34
HSL
57°, 67%, 40%
CMYK
0, 4, 80, 33
Luminance
0.3521

Every format

HEX#aaa422
RGBrgb(170, 164, 34)
HSLhsl(57, 67%, 40%)
CMYKcmyk(0%, 4%, 80%, 33%)
LABlab(65.9 -12.1 62.2)
LCHlch(65.9 63.4 101.0)
OKLCHoklch(0.702 0.141 106.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aaa422 on white: 2.61:1
AA ✗ fail · AA-large · AAA
Aa
#aaa422 on black: 8.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green64.3%
Blue13.3%

CMYK percentages

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

Color previews

#aaa422 text on a black background

contrast 8.04:1

Card sample

#aaa422 text on a white background

contrast 2.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aaa422

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aaa422 in the Color Lab