#BA9417 Color Information

Hex color code: #BA9417

#BA9417 is a dynamic yellow color. In RGB it is (186, 148, 23), and in HSL it is (46°, 78%, 41%). It is typically applied in digital products.

Try:
Color NameDark Goldenrod
HEX
#BA9417
RGB
186, 148, 23
HSL
46°, 78%, 41%
CMYK
0%, 20%, 88%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #BA9417; 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 #BA9417; background-color: #BA941715; }

Alert / Toast

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

Link / Accent

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

a { color: #BA9417; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

186, 148, 23

Red: 186 / Green: 148 / Blue: 23

HSL

46°, 78%, 41%

Hue: 46° / Saturation: 78% / Lightness: 41%

CMYK

0%, 20%, 88%, 27%

Cyan: 0% / Magenta: 20% / Yellow: 88% / Key: 27%

What color is #BA9417?

#BA9417 is a orange-yellow hue associated with optimism and creativity.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #BA9417 to RGB:

rgb(186, 148, 23)HEX to RGB Converter →

HEX to HSL

Convert #BA9417 to HSL:

hsl(46, 78%, 41%)RGB to HSL Converter →

HEX to CMYK

Convert #BA9417 to CMYK:

cmyk(0%, 20%, 88%, 27%)Color Converter →

Color Meaning and Usage

A vivid yellow tone, #BA9417 has RGB (186, 148, 23) and HSL (46°, 78%, 41%). Known for evoking optimism and creativity, this orange-yellow hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #BA9417 is #173DBA, creating high-contrast pairings. For softer combinations, try analogous colors like #BA4217.

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

Contrast with #BA9417

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #BA9417?

#BA9417 is a vivid yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #BA9417?

#BA9417 in RGB is (186, 148, 23) - 186 red, 148 green, and 23 blue.

How to use #BA9417 in CSS?

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

What colors go well with #BA9417?

#173DBA (complementary), #BA4217 (analogous), and #765E0F (lighter shade) work well with #BA9417.