#B2A52E Color Information

Hex color code: #B2A52E

#B2A52E is a muted yellow color. In RGB it is (178, 165, 46), and in HSL it is (54°, 59%, 44%). It is typically applied in digital products.

Try:
Color NameGoldenrod
HEX
#B2A52E
RGB
178, 165, 46
HSL
54°, 59%, 44%
CMYK
0%, 7%, 74%, 30%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B2A52E; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

178, 165, 46

Red: 178 / Green: 165 / Blue: 46

HSL

54°, 59%, 44%

Hue: 54° / Saturation: 59% / Lightness: 44%

CMYK

0%, 7%, 74%, 30%

Cyan: 0% / Magenta: 7% / Yellow: 74% / Key: 30%

What color is #B2A52E?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B2A52E to RGB:

rgb(178, 165, 46)HEX to RGB Converter →

HEX to HSL

Convert #B2A52E to HSL:

hsl(54, 59%, 44%)RGB to HSL Converter →

HEX to CMYK

Convert #B2A52E to CMYK:

cmyk(0%, 7%, 74%, 30%)Color Converter →

Color Meaning and Usage

A balanced yellow tone, #B2A52E has RGB (178, 165, 46) and HSL (54°, 59%, 44%). 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 #B2A52E is #2E3BB2, creating high-contrast pairings. For softer combinations, try analogous colors like #B2632E.

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

Contrast with #B2A52E

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B2A52E?

#B2A52E is a balanced yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #B2A52E?

#B2A52E in RGB is (178, 165, 46) - 178 red, 165 green, and 46 blue.

How to use #B2A52E in CSS?

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

What colors go well with #B2A52E?

#2E3BB2 (complementary), #B2632E (analogous), and #766D1E (lighter shade) work well with #B2A52E.