Maroon Colors  ·  Color Library

Palettes / Colors / #BA9012

#BA9012 — Vivid Yellow

#BA9012 is a yellow color we call Vivid 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 #BA9012 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.

#BA9012 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 #123CBA; it also sits naturally between #BA3C12 and #90BA12. In the palettes below you can see it working alongside real color combinations from our collection.

#BA9012 · RGB 186, 144, 18

Download PNG swatch SVG

Color values

HEX#BA9012
RGB186, 144, 18
HSL45°, 82%, 40%
HSV45°, 90%, 73%
CMYK0%, 23%, 90%, 27%
XYZ30.33, 30.43, 4.85
Yxy30.43, 0.4623, 0.4638
CIE-Lab62.02, 5.38, 63.64
Hunter Lab55.16, 4.64, 31.57

RGB & CMYK percentages

Red 73% · Green 56% · Blue 7%

Cyan 0% · Magenta 23% · Yellow 90% · Key 27%

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

Previews

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

CSS code for #BA9012

.text { color: #BA9012; }
.background { background-color: #BA9012; }
.border { border: 3px solid #BA9012; }
.text-rgb { color: rgb(186, 144, 18); }
.text-hsl { color: hsl(45, 82%, 40%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #BA9012; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(186, 144, 18, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #BA9012; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(186, 144, 18, 0.8); }

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

Shades of #BA9012

#A78111#99770F#87680D#795D0C#664F0A#544108#463607#332805#251D04#130E02

Tints of #BA9012

#D5A515#E9B51C#EBBE37#EEC64F#F0CF6A#F3D886#F5DF9E#F8E8B9#FAF0D1#FDF9EC

Tones of #BA9012

#AD8A1F#A2842A#967E36#8A7842#7D724F#726C5A

Color harmonies

Complementary — #123CBA:

Analogous:

Triadic:

Contrast & accessibility

Against white text2.96:1 Fails
Against black text7.09:1 AAA

Best text color on #BA9012: #000000.

Semi-transparent (opacity) text on #BA9012

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

How #BA9012 looks with color blindness

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

Protanopia · #A8A730Deuteranopia · #AAAD38Tritanopia · #B8494E

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 amber 600 · #D97706Tailwind yellow 500 · #EAB308

Palettes with a similar color

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

Tender Ruby Orchard
#C19215 · #EFB06A · #4975EB · #93A0EC
Silent Ruby Petal
#BF8D1B · #3BE3AF · #A01FD9 · #EAD6AD
Tranquil Mosaic
#F24B9A · #E01628 · #CD5019 · #B58515
Velvet Ruby Mirage
#B41B44 · #A62618 · #AB5911 · #B29919
Wild Voyage
#C68A18 · #E7B737 · #5387EA · #B2C0F1
Lucky Ruby Cinder
#C1971D · #1EC79C · #BD4DE4 · #EADAB0

Similar colors

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

#C19215#BF8D1B#B58515#B29919#C68A18#C1971D#BF841E#B1991F#C78311#AC9C12#C69D1A#B19F1F

Browse neighbouring colors

← #BA9011  ·  #BA9013 →

Frequently asked questions

What color is #BA9012?

#BA9012 is Vivid Yellow, a yellow color (RGB 186, 144, 18). Its closest standard named color is DarkGoldenRod.

What is the RGB and HSL of #BA9012?

#BA9012 is RGB 186, 144, 18 — HSL 45°, 82%, 40% — CMYK 0%, 23%, 90%, 27%.

What colors go with #BA9012?

Its complement is #123CBA; analogous partners are #BA3C12 and #90BA12. It also appears in 6+ palettes in our collection.

Can I use #BA9012 for text?

Black text on #BA9012 has a contrast ratio of 7.09:1 (passes WCAG AA); white text gives 2.96:1.