Maroon Colors  ·  Color Library

Palettes / Colors / #AAA22A

#AAA22A — Yellow

#AAA22A is a yellow color we call Yellow, closest to the named color DarkGoldenRod (#B8860B). It belongs to the yellow family.

Color name

Closest CSS keyword: darkgoldenrod (#B8860B) — not an exact match. CSS darkgoldenrod gives you #B8860B, a different color; use #AAA22A when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#AAA22A is a warm yellow color associated with optimism, attention and cheer. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #2B33AB; it also sits naturally between #AB632B and #74AB2B. In the palettes below you can see it working alongside real color combinations from our collection.

#AAA22A · RGB 170, 162, 42

Download PNG swatch SVG

Color values

HEX#AAA22A
RGB170, 162, 42
HSL56°, 60%, 42%
HSV56°, 75%, 67%
CMYK0%, 5%, 75%, 33%
XYZ29.92, 34.55, 7.28
Yxy34.55, 0.4169, 0.4816
CIE-Lab65.40, -10.75, 59.16
Hunter Lab58.78, -9.03, 31.78

RGB & CMYK percentages

Red 67% · Green 64% · Blue 16%

Cyan 0% · Magenta 5% · Yellow 75% · Key 33%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #AAA22A on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #AAA22A on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #AAA22A

.text { color: #AAA22A; }
.background { background-color: #AAA22A; }
.border { border: 3px solid #AAA22A; }
.text-rgb { color: rgb(170, 162, 42); }
.text-hsl { color: hsl(56, 60%, 42%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #AAA22A; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(170, 162, 42, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #AAA22A; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(170, 162, 42, 0.8); }

HTML: <p style="color:#AAA22A">Text here</p> · <div style="background-color:#AAA22A">Div content here</div>

Shades of #AAA22A

#9B9327#8B8423#7E7820#6E691C#5E5917#4E4A13#3D3A0F#312F0C#211F08#101004

Tints of #AAA22A

#C0B630#CFC53F#D4CC54#DAD36C#DFD981#E4DF95#EBE7AD#F0EDC2#F6F4DA#FBFAEF

Tones of #AAA22A

#A29A34#99933D#908B47#87834F#7D7B59#757361

Color harmonies

Complementary — #2B33AB:

Analogous:

Triadic:

Contrast & accessibility

Against white text2.65:1 Fails
Against black text7.91:1 AAA

Best text color on #AAA22A: #000000.

Semi-transparent (opacity) text on #AAA22A

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #AAA22A: ·

How #AAA22A looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #A7A647Deuteranopia · #A7A84ETritanopia · #AA5E63

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Tailwind yellow 600 · #CA8A04Material Light Green 500 · #8BC34ATailwind lime 500 · #84CC16

Palettes with a similar color

These palettes use a close neighbour of #AAA22A rather than the exact color:

Frozen Garden
#8B4F1E · #A8A62B · #4D7F20 · #259B2D
Palette E52020
#E52020 · #FBA518 · #F9CB43 · #A89C29
Frozen Meadow
#A8A828 · #E2D582 · #6564DA · #CCCAEE
Gentle Saffron
#A1A029 · #BBD351 · #3031BE · #BAC1E8
Velvet Ruby Cinder
#9B2646 · #E37C6F · #DF9C5B · #B4A42F
Frozen Bloom
#651329 · #CB4529 · #795721 · #9FA62A

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#A8A62B#A89C29#A8A828#A1A029#B4A42F#9FA62A#A19B26#B3AA2E#B19F1F#9E9B2F#A69531#B1991F

Browse neighbouring colors

← #AAA229  ·  #AAA22B →

Frequently asked questions

What color is #AAA22A?

#AAA22A is Yellow, a yellow color (RGB 170, 162, 42). Its closest standard named color is DarkGoldenRod.

What is the RGB and HSL of #AAA22A?

#AAA22A is RGB 170, 162, 42 — HSL 56°, 60%, 42% — CMYK 0%, 5%, 75%, 33%.

What colors go with #AAA22A?

Its complement is #2B33AB; analogous partners are #AB632B and #74AB2B. It also appears in 6+ palettes in our collection.

Can I use #AAA22A for text?

Black text on #AAA22A has a contrast ratio of 7.91:1 (passes WCAG AA); white text gives 2.65:1.