#B2A853 Color Information

Hex color code: #B2A853

#B2A853 is a pastel yellow color. In RGB it is (178, 168, 83), and in HSL it is (54°, 38%, 51%). It is commonly used in modern UI design.

Try:
Color NamePeru
HEX
#B2A853
RGB
178, 168, 83
HSL
54°, 38%, 51%
CMYK
0%, 6%, 53%, 30%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B2A853; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

178, 168, 83

Red: 178 / Green: 168 / Blue: 83

HSL

54°, 38%, 51%

Hue: 54° / Saturation: 38% / Lightness: 51%

CMYK

0%, 6%, 53%, 30%

Cyan: 0% / Magenta: 6% / Yellow: 53% / Key: 30%

What color is #B2A853?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B2A853 to RGB:

rgb(178, 168, 83)HEX to RGB Converter →

HEX to HSL

Convert #B2A853 to HSL:

hsl(54, 38%, 51%)RGB to HSL Converter →

HEX to CMYK

Convert #B2A853 to CMYK:

cmyk(0%, 6%, 53%, 30%)Color Converter →

Color Meaning and Usage

A soft yellow tone, #B2A853 has RGB (178, 168, 83) and HSL (54°, 38%, 51%). Known for evoking optimism and creativity, this orange-yellow hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B2A853 is #535CB2, creating high-contrast pairings. For softer combinations, try analogous colors like #B27953.

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

Contrast with #B2A853

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B2A853?

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

What is the RGB value of #B2A853?

#B2A853 in RGB is (178, 168, 83) - 178 red, 168 green, and 83 blue.

How to use #B2A853 in CSS?

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

What colors go well with #B2A853?

#535CB2 (complementary), #B27953 (analogous), and #7F7839 (lighter shade) work well with #B2A853.