Maroon Colors  ·  Color Library

Palettes / Colors / #AAA227

#AAA227 — Yellow

#AAA227 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 #AAA227 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.

#AAA227 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 #272FAA; it also sits naturally between #AA6027 and #71AA27. In the palettes below you can see it working alongside real color combinations from our collection.

#AAA227 · RGB 170, 162, 39

Download PNG swatch SVG

Color values

HEX#AAA227
RGB170, 162, 39
HSL56°, 63%, 41%
HSV56°, 77%, 67%
CMYK0%, 5%, 77%, 33%
XYZ29.86, 34.53, 7.01
Yxy34.53, 0.4182, 0.4836
CIE-Lab65.38, -10.87, 60.15
Hunter Lab58.76, -9.13, 32.05

RGB & CMYK percentages

Red 67% · Green 64% · Blue 15%

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

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

Previews

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

CSS code for #AAA227

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

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

Shades of #AAA227

#9A9223#8D8620#7D761C#6C6619#605B16#4F4B12#3E3B0E#2E2B0A#212008#111004

Tints of #AAA227

#C3B92C#D2C737#D7CE50#DCD465#E2DB7E#E6E193#ECE8AC#F1EEC1#F7F5DA#FBFAEE

Tones of #AAA227

#A19930#98913A#8E8943#85814C#7B7956#72715F

Color harmonies

Complementary — #272FAA:

Analogous:

Triadic:

Contrast & accessibility

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

Best text color on #AAA227: #000000.

Semi-transparent (opacity) text on #AAA227

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 #AAA227: ·

How #AAA227 looks with color blindness

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

Protanopia · #A7A645Deuteranopia · #A7A84CTritanopia · #AA5C61

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 #AAA227 rather than the exact color:

Frozen Garden
#8B4F1E · #A8A62B · #4D7F20 · #259B2D
Frozen Meadow
#A8A828 · #E2D582 · #6564DA · #CCCAEE
Palette E52020
#E52020 · #FBA518 · #F9CB43 · #A89C29
Gentle Saffron
#A1A029 · #BBD351 · #3031BE · #BAC1E8
Frozen Cinder
#9C2687 · #7F2038 · #7D3A1C · #B19F1F
Wild Ruby Breeze
#F2F0D4 · #D3CD64 · #D2CA32 · #A19B26

Similar colors

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

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

Browse neighbouring colors

← #AAA226  ·  #AAA228 →

Frequently asked questions

What color is #AAA227?

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

What is the RGB and HSL of #AAA227?

#AAA227 is RGB 170, 162, 39 — HSL 56°, 63%, 41% — CMYK 0%, 5%, 77%, 33%.

What colors go with #AAA227?

Its complement is #272FAA; analogous partners are #AA6027 and #71AA27. It also appears in 6+ palettes in our collection.

Can I use #AAA227 for text?

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