#B3AF5B Color Information

Hex color code: #B3AF5B

A soft yellow shade, #B3AF5B appears as (179, 175, 91) in RGB and (57°, 37%, 53%) in HSL. It is typically applied in digital products.

Try:
Color NameYellow Green
HEX
#B3AF5B
RGB
179, 175, 91
HSL
57°, 37%, 53%
CMYK
0%, 2%, 49%, 30%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B3AF5B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

179, 175, 91

Red: 179 / Green: 175 / Blue: 91

HSL

57°, 37%, 53%

Hue: 57° / Saturation: 37% / Lightness: 53%

CMYK

0%, 2%, 49%, 30%

Cyan: 0% / Magenta: 2% / Yellow: 49% / Key: 30%

What color is #B3AF5B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B3AF5B to RGB:

rgb(179, 175, 91)HEX to RGB Converter →

HEX to HSL

Convert #B3AF5B to HSL:

hsl(57, 37%, 53%)RGB to HSL Converter →

HEX to CMYK

Convert #B3AF5B to CMYK:

cmyk(0%, 2%, 49%, 30%)Color Converter →

Color Meaning and Usage

A pastel yellow tone, #B3AF5B has RGB (179, 175, 91) and HSL (57°, 37%, 53%). Known for evoking optimism and creativity, this orange-yellow hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B3AF5B is #5B5FB3, creating high-contrast pairings. For softer combinations, try analogous colors like #B3835B.

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

Contrast with #B3AF5B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B3AF5B?

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

What is the RGB value of #B3AF5B?

#B3AF5B in RGB is (179, 175, 91) - 179 red, 175 green, and 91 blue.

How to use #B3AF5B in CSS?

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

What colors go well with #B3AF5B?

#5B5FB3 (complementary), #B3835B (analogous), and #85813D (lighter shade) work well with #B3AF5B.