#BAB278 Color Information

Hex color code: #BAB278

A gentle yellow shade, #BAB278 appears as (186, 178, 120) in RGB and (53°, 32%, 60%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameTan
HEX
#BAB278
RGB
186, 178, 120
HSL
53°, 32%, 60%
CMYK
0%, 4%, 35%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #BAB278; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

186, 178, 120

Red: 186 / Green: 178 / Blue: 120

HSL

53°, 32%, 60%

Hue: 53° / Saturation: 32% / Lightness: 60%

CMYK

0%, 4%, 35%, 27%

Cyan: 0% / Magenta: 4% / Yellow: 35% / Key: 27%

What color is #BAB278?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #BAB278 to RGB:

rgb(186, 178, 120)HEX to RGB Converter →

HEX to HSL

Convert #BAB278 to HSL:

hsl(53, 32%, 60%)RGB to HSL Converter →

HEX to CMYK

Convert #BAB278 to CMYK:

cmyk(0%, 4%, 35%, 27%)Color Converter →

Color Meaning and Usage

#BAB278 is a gentle yellow color with RGB values of 186, 178, 120 and HSL of 53°, 32%, 60%. This orange-yellow hue evokes optimism and creativity, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #BAB278 is #7880BA, creating high-contrast pairings. For softer combinations, try analogous colors like #BA9178.

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

Contrast with #BAB278

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #BAB278?

#BAB278 is a gentle yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #BAB278?

#BAB278 in RGB is (186, 178, 120) - 186 red, 178 green, and 120 blue.

How to use #BAB278 in CSS?

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

What colors go well with #BAB278?

#7880BA (complementary), #BA9178 (analogous), and #978F4E (lighter shade) work well with #BAB278.