#B4AF5F Color Information

Hex color code: #B4AF5F

The hex color #B4AF5F is a gentle yellow with RGB values of (180, 175, 95) and HSL of (56°, 36%, 54%). It is frequently seen in web interfaces.

Try:
Color NameTan
HEX
#B4AF5F
RGB
180, 175, 95
HSL
56°, 36%, 54%
CMYK
0%, 3%, 47%, 29%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B4AF5F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

180, 175, 95

Red: 180 / Green: 175 / Blue: 95

HSL

56°, 36%, 54%

Hue: 56° / Saturation: 36% / Lightness: 54%

CMYK

0%, 3%, 47%, 29%

Cyan: 0% / Magenta: 3% / Yellow: 47% / Key: 29%

What color is #B4AF5F?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B4AF5F to RGB:

rgb(180, 175, 95)HEX to RGB Converter →

HEX to HSL

Convert #B4AF5F to HSL:

hsl(56, 36%, 54%)RGB to HSL Converter →

HEX to CMYK

Convert #B4AF5F to CMYK:

cmyk(0%, 3%, 47%, 29%)Color Converter →

Color Meaning and Usage

A soft yellow tone, #B4AF5F has RGB (180, 175, 95) and HSL (56°, 36%, 54%). 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 #B4AF5F is #5F65B4, creating high-contrast pairings. For softer combinations, try analogous colors like #B4845F.

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

Contrast with #B4AF5F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B4AF5F?

#B4AF5F is a soft yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #B4AF5F?

#B4AF5F in RGB is (180, 175, 95) - 180 red, 175 green, and 95 blue.

How to use #B4AF5F in CSS?

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

What colors go well with #B4AF5F?

#5F65B4 (complementary), #B4845F (analogous), and #878240 (lighter shade) work well with #B4AF5F.