#BAB021 Color Information

Hex color code: #BAB021

A balanced yellow shade, #BAB021 appears as (186, 176, 33) in RGB and (56°, 70%, 43%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameGoldenrod
HEX
#BAB021
RGB
186, 176, 33
HSL
56°, 70%, 43%
CMYK
0%, 5%, 82%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #BAB021; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

186, 176, 33

Red: 186 / Green: 176 / Blue: 33

HSL

56°, 70%, 43%

Hue: 56° / Saturation: 70% / Lightness: 43%

CMYK

0%, 5%, 82%, 27%

Cyan: 0% / Magenta: 5% / Yellow: 82% / Key: 27%

What color is #BAB021?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #BAB021 to RGB:

rgb(186, 176, 33)HEX to RGB Converter →

HEX to HSL

Convert #BAB021 to HSL:

hsl(56, 70%, 43%)RGB to HSL Converter →

HEX to CMYK

Convert #BAB021 to CMYK:

cmyk(0%, 5%, 82%, 27%)Color Converter →

Color Meaning and Usage

A understated yellow tone, #BAB021 has RGB (186, 176, 33) and HSL (56°, 70%, 43%). Known for evoking optimism and creativity, this orange-yellow hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #BAB021 is #212BBA, creating high-contrast pairings. For softer combinations, try analogous colors like #BA6321.

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

Contrast with #BAB021

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #BAB021?

#BAB021 is a understated yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #BAB021?

#BAB021 in RGB is (186, 176, 33) - 186 red, 176 green, and 33 blue.

How to use #BAB021 in CSS?

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

What colors go well with #BAB021?

#212BBA (complementary), #BA6321 (analogous), and #797315 (lighter shade) work well with #BAB021.