#B7AF6C Color Information

Hex color code: #B7AF6C

The hex color #B7AF6C is a subtle yellow with RGB values of (183, 175, 108) and HSL of (54°, 34%, 57%). It is often used for branding and logos.

Try:
Color NameTan
HEX
#B7AF6C
RGB
183, 175, 108
HSL
54°, 34%, 57%
CMYK
0%, 4%, 41%, 28%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B7AF6C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

183, 175, 108

Red: 183 / Green: 175 / Blue: 108

HSL

54°, 34%, 57%

Hue: 54° / Saturation: 34% / Lightness: 57%

CMYK

0%, 4%, 41%, 28%

Cyan: 0% / Magenta: 4% / Yellow: 41% / Key: 28%

What color is #B7AF6C?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B7AF6C to RGB:

rgb(183, 175, 108)HEX to RGB Converter →

HEX to HSL

Convert #B7AF6C to HSL:

hsl(54, 34%, 57%)RGB to HSL Converter →

HEX to CMYK

Convert #B7AF6C to CMYK:

cmyk(0%, 4%, 41%, 28%)Color Converter →

Color Meaning and Usage

A pastel yellow tone, #B7AF6C has RGB (183, 175, 108) and HSL (54°, 34%, 57%). Known for evoking optimism and creativity, this orange-yellow hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B7AF6C is #6C74B7, creating high-contrast pairings. For softer combinations, try analogous colors like #B78A6C.

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

Contrast with #B7AF6C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B7AF6C?

#B7AF6C is a pastel yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #B7AF6C?

#B7AF6C in RGB is (183, 175, 108) - 183 red, 175 green, and 108 blue.

How to use #B7AF6C in CSS?

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

What colors go well with #B7AF6C?

#6C74B7 (complementary), #B78A6C (analogous), and #908847 (lighter shade) work well with #B7AF6C.