#BAB517 Color Information

Hex color code: #BAB517

The hex color #BAB517 is a striking yellow with RGB values of (186, 181, 23) and HSL of (58°, 78%, 41%). It is often used for branding and logos.

Try:
Color NameGoldenrod
HEX
#BAB517
RGB
186, 181, 23
HSL
58°, 78%, 41%
CMYK
0%, 3%, 88%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #BAB517; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

186, 181, 23

Red: 186 / Green: 181 / Blue: 23

HSL

58°, 78%, 41%

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

CMYK

0%, 3%, 88%, 27%

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

What color is #BAB517?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #BAB517 to RGB:

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

HEX to HSL

Convert #BAB517 to HSL:

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

HEX to CMYK

Convert #BAB517 to CMYK:

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

Color Meaning and Usage

A eye-catching yellow tone, #BAB517 has RGB (186, 181, 23) and HSL (58°, 78%, 41%). Known for evoking optimism and creativity, this orange-yellow hue is frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #BAB517 is #171CBA, creating high-contrast pairings. For softer combinations, try analogous colors like #BA6317.

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

Contrast with #BAB517

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #BAB517?

#BAB517 is a eye-catching yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #BAB517?

#BAB517 in RGB is (186, 181, 23) - 186 red, 181 green, and 23 blue.

How to use #BAB517 in CSS?

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

What colors go well with #BAB517?

#171CBA (complementary), #BA6317 (analogous), and #76730F (lighter shade) work well with #BAB517.