#B7B052 Color Information

Hex color code: #B7B052

A gentle yellow shade, #B7B052 appears as (183, 176, 82) in RGB and (56°, 41%, 52%) in HSL. It is frequently seen in web interfaces.

Try:
Color NamePeru
HEX
#B7B052
RGB
183, 176, 82
HSL
56°, 41%, 52%
CMYK
0%, 4%, 55%, 28%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B7B052; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

183, 176, 82

Red: 183 / Green: 176 / Blue: 82

HSL

56°, 41%, 52%

Hue: 56° / Saturation: 41% / Lightness: 52%

CMYK

0%, 4%, 55%, 28%

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

What color is #B7B052?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B7B052 to RGB:

rgb(183, 176, 82)HEX to RGB Converter →

HEX to HSL

Convert #B7B052 to HSL:

hsl(56, 41%, 52%)RGB to HSL Converter →

HEX to CMYK

Convert #B7B052 to CMYK:

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

Color Meaning and Usage

A pastel yellow tone, #B7B052 has RGB (183, 176, 82) and HSL (56°, 41%, 52%). Known for evoking optimism and creativity, this orange-yellow hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B7B052 is #5259B7, creating high-contrast pairings. For softer combinations, try analogous colors like #B77E52.

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

Contrast with #B7B052

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B7B052?

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

What is the RGB value of #B7B052?

#B7B052 in RGB is (183, 176, 82) - 183 red, 176 green, and 82 blue.

How to use #B7B052 in CSS?

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

What colors go well with #B7B052?

#5259B7 (complementary), #B77E52 (analogous), and #858038 (lighter shade) work well with #B7B052.