#BA9B1C Color Information

Hex color code: #BA9B1C

The hex color #BA9B1C is a eye-catching yellow with RGB values of (186, 155, 28) and HSL of (48°, 74%, 42%). It is popular in mobile app design.

Try:
Color NameDark Goldenrod
HEX
#BA9B1C
RGB
186, 155, 28
HSL
48°, 74%, 42%
CMYK
0%, 17%, 85%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #BA9B1C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

186, 155, 28

Red: 186 / Green: 155 / Blue: 28

HSL

48°, 74%, 42%

Hue: 48° / Saturation: 74% / Lightness: 42%

CMYK

0%, 17%, 85%, 27%

Cyan: 0% / Magenta: 17% / Yellow: 85% / Key: 27%

What color is #BA9B1C?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #BA9B1C to RGB:

rgb(186, 155, 28)HEX to RGB Converter →

HEX to HSL

Convert #BA9B1C to HSL:

hsl(48, 74%, 42%)RGB to HSL Converter →

HEX to CMYK

Convert #BA9B1C to CMYK:

cmyk(0%, 17%, 85%, 27%)Color Converter →

Color Meaning and Usage

A striking yellow tone, #BA9B1C has RGB (186, 155, 28) and HSL (48°, 74%, 42%). Known for evoking optimism and creativity, this orange-yellow hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #BA9B1C is #1C3CBA, creating high-contrast pairings. For softer combinations, try analogous colors like #BA4B1C.

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

Contrast with #BA9B1C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #BA9B1C?

#BA9B1C is a striking yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #BA9B1C?

#BA9B1C in RGB is (186, 155, 28) - 186 red, 155 green, and 28 blue.

How to use #BA9B1C in CSS?

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

What colors go well with #BA9B1C?

#1C3CBA (complementary), #BA4B1C (analogous), and #786312 (lighter shade) work well with #BA9B1C.