#BA9312 Color Information

Hex color code: #BA9312

#BA9312 is a dynamic yellow color. In RGB it is (186, 147, 18), and in HSL it is (46°, 82%, 40%). It is typically applied in digital products.

Try:
Color NameDark Goldenrod
HEX
#BA9312
RGB
186, 147, 18
HSL
46°, 82%, 40%
CMYK
0%, 21%, 90%, 27%

Shades

CSS Usage
color: #BA9312;
background-color: #BA9312;
border-color: #BA9312;
box-shadow: 0 0 10px #BA9312;
border: 2px solid #BA9312;
Tailwind Usage
bg-[#BA9312]
text-[#BA9312]
border-[#BA9312]
shadow-[0_0_10px_BA9312]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #BA9312, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #BA9312; color: #000000; }

Badge

New Feature
.badge { background-color: #BA9312; color: #000000; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #BA9312; background-color: #BA931215; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #BA931220; border-left: 4px solid #BA9312; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #BA9312; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #BA9312 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

186, 147, 18

Red: 186 / Green: 147 / Blue: 18

HSL

46°, 82%, 40%

Hue: 46° / Saturation: 82% / Lightness: 40%

CMYK

0%, 21%, 90%, 27%

Cyan: 0% / Magenta: 21% / Yellow: 90% / Key: 27%

What color is #BA9312?

#BA9312 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #BA9312 to RGB:

rgb(186, 147, 18)HEX to RGB Converter →

HEX to HSL

Convert #BA9312 to HSL:

hsl(46, 82%, 40%)RGB to HSL Converter →

HEX to CMYK

Convert #BA9312 to CMYK:

cmyk(0%, 21%, 90%, 27%)Color Converter →

Color Meaning and Usage

#BA9312 is a bold yellow color with RGB values of 186, 147, 18 and HSL of 46°, 82%, 40%. This highly saturated hue evokes energy and excitement, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #BA9312 is #1239BA, creating high-contrast pairings. For softer combinations, try analogous colors like #BA3F12.

Use #BA9312 in CSS: color: #BA9312 or background-color: #BA9312. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #BA9312

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 7.27:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #BA9312?

#BA9312 is a bold yellow color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #BA9312?

#BA9312 in RGB is (186, 147, 18) - 186 red, 147 green, and 18 blue.

How to use #BA9312 in CSS?

Use #BA9312 directly in your CSS properties like color or background-color.

What colors go well with #BA9312?

#1239BA (complementary), #BA3F12 (analogous), and #745C0B (lighter shade) work well with #BA9312.