Maroon Colors  ·  Color Library

Palettes / Colors / #BBAF2A

#BBAF2A — Yellow

#BBAF2A is a yellow color we call Yellow, closest to the named color GoldenRod (#DAA520). It belongs to the yellow family.

Color name

Closest CSS keyword: goldenrod (#DAA520) — not an exact match. CSS goldenrod gives you #DAA520, a different color; use #BBAF2A 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.

#BBAF2A 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 #2A37BB; it also sits naturally between #BB672A and #7FBB2A. In the palettes below you can see it working alongside real color combinations from our collection.

#BBAF2A · RGB 187, 175, 42

Download PNG swatch SVG

Color values

HEX#BBAF2A
RGB187, 175, 42
HSL55°, 63%, 45%
HSV55°, 78%, 73%
CMYK0%, 6%, 78%, 27%
XYZ36.24, 41.39, 8.27
Yxy41.39, 0.4219, 0.4818
CIE-Lab70.45, -10.06, 64.35
Hunter Lab64.34, -8.74, 35.22

RGB & CMYK percentages

Red 73% · Green 69% · Blue 16%

Cyan 0% · Magenta 6% · Yellow 78% · Key 27%

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

Previews

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

CSS code for #BBAF2A

.text { color: #BBAF2A; }
.background { background-color: #BBAF2A; }
.border { border: 3px solid #BBAF2A; }
.text-rgb { color: rgb(187, 175, 42); }
.text-hsl { color: hsl(55, 63%, 45%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #BBAF2A; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(187, 175, 42, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #BBAF2A; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(187, 175, 42, 0.8); }

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

Shades of #BBAF2A

#AA9F27#9A9023#89801F#79711B#686118#534E13#433E0F#322F0B#211F08#111004

Tints of #BBAF2A

#D0C22F#D5C844#D9CF59#DED56E#E4DC86#E8E29B#EDE8B0#F2EEC5#F7F4DA#FBFAEE

Tones of #BBAF2A

#B1A635#A69E3F#9C9549#928D54#87845E#7D7B68

Color harmonies

Complementary — #2A37BB:

Analogous:

Triadic:

Contrast & accessibility

Against white text2.26:1 Fails
Against black text9.28:1 AAA

Best text color on #BBAF2A: #000000.

Semi-transparent (opacity) text on #BBAF2A

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

How #BBAF2A looks with color blindness

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

Protanopia · #B6B64ADeuteranopia · #B7B752Tritanopia · #BA6469

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:

Material Lime 500 · #CDDC39Tailwind yellow 600 · #CA8A04Tailwind yellow 500 · #EAB308

Palettes with a similar color

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

Frozen Voyage
#BBAD27 · #37D6C7 · #C738D6 · #EADFC0
Gentle Ruby Aurora
#E2DFA6 · #D4CF81 · #C0B949 · #B3AA2E
Vintage Ruby Mosaic
#B121C2 · #BAAA20 · #27DAC7 · #E9B1E7
Dreamy Horizon
#DC67D8 · #CD5B81 · #A25433 · #C2B82C
Radiant Ruby Cinder
#E2D365 · #C5B225 · #9D8C16 · #6E6416
Lucky Ruby Marble
#E87FA6 · #E2876C · #BFA522 · #7AB82A

Similar colors

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

#BBAD27#B3AA2E#BAAA20#C2B82C#C5B225#BFA522#BDA227#B4A42F#C7A92F#C3A32B#BAB31C#C1A231

Browse neighbouring colors

← #BBAF29  ·  #BBAF2B →

Frequently asked questions

What color is #BBAF2A?

#BBAF2A is Yellow, a yellow color (RGB 187, 175, 42). Its closest standard named color is GoldenRod.

What is the RGB and HSL of #BBAF2A?

#BBAF2A is RGB 187, 175, 42 — HSL 55°, 63%, 45% — CMYK 0%, 6%, 78%, 27%.

What colors go with #BBAF2A?

Its complement is #2A37BB; analogous partners are #BB672A and #7FBB2A. It also appears in 6+ palettes in our collection.

Can I use #BBAF2A for text?

Black text on #BBAF2A has a contrast ratio of 9.28:1 (passes WCAG AA); white text gives 2.26:1.