Maroon Colors  ·  Color Library

Palettes / Colors / #ABA221

#ABA221 — Yellow

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

#ABA221 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 #212AAB; it also sits naturally between #AB5D21 and #6FAB21. In the palettes below you can see it working alongside real color combinations from our collection.

#ABA221 · RGB 171, 162, 33

Download PNG swatch SVG

Color values

HEX#ABA221
RGB171, 162, 33
HSL56°, 68%, 40%
HSV56°, 81%, 67%
CMYK0%, 5%, 81%, 33%
XYZ29.99, 34.61, 6.54
Yxy34.61, 0.4216, 0.4865
CIE-Lab65.44, -10.65, 62.10
Hunter Lab58.83, -8.95, 32.60

RGB & CMYK percentages

Red 67% · Green 64% · Blue 13%

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

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

Previews

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

CSS code for #ABA221

.text { color: #ABA221; }
.background { background-color: #ABA221; }
.border { border: 3px solid #ABA221; }
.text-rgb { color: rgb(171, 162, 33); }
.text-hsl { color: hsl(56, 68%, 40%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #ABA221; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(171, 162, 33, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #ABA221; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(171, 162, 33, 0.8); }

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

Shades of #ABA221

#9A921D#8D861B#7C7618#6F6915#5E5912#4D490F#403D0C#2F2D09#222007#111003

Tints of #ABA221

#C5BA26#D7CC2D#DCD247#E0D75C#E5DD76#EAE490#EEE9A5#F3EFBF#F7F5D4#FCFBEE

Tones of #ABA221

#A1992B#989134#8E883E#848048#797753#706F5C

Color harmonies

Complementary — #212AAB:

Analogous:

Triadic:

Contrast & accessibility

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

Best text color on #ABA221: #000000.

Semi-transparent (opacity) text on #ABA221

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

How #ABA221 looks with color blindness

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

Protanopia · #A7A740Deuteranopia · #A8A848Tritanopia · #AB595E

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 · #CA8A04Tailwind lime 500 · #84CC16Material Light Green 500 · #8BC34A

Palettes with a similar color

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

Frozen Cinder
#9C2687 · #7F2038 · #7D3A1C · #B19F1F
Frozen Meadow
#A8A828 · #E2D582 · #6564DA · #CCCAEE
Scarlet Voyage
#A9A417 · #92E850 · #19E038 · #54E1BF
Palette E52020
#E52020 · #FBA518 · #F9CB43 · #A89C29
Hidden Terrace
#B1991F · #E6E46D · #4A62DF · #A8B4EA
Frozen Garden
#8B4F1E · #A8A62B · #4D7F20 · #259B2D

Similar colors

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

#B19F1F#A8A828#A9A417#A89C29#B1991F#A8A62B#A1A029#A19B26#B29919#9D9E1E#9FA62A#A0AD21

Browse neighbouring colors

← #ABA220  ·  #ABA222 →

Frequently asked questions

What color is #ABA221?

#ABA221 is Yellow, a yellow color (RGB 171, 162, 33). Its closest standard named color is DarkGoldenRod.

What is the RGB and HSL of #ABA221?

#ABA221 is RGB 171, 162, 33 — HSL 56°, 68%, 40% — CMYK 0%, 5%, 81%, 33%.

What colors go with #ABA221?

Its complement is #212AAB; analogous partners are #AB5D21 and #6FAB21. It also appears in 6+ palettes in our collection.

Can I use #ABA221 for text?

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