#B8AB1E Color Information

Hex color code: #B8AB1E

A bold yellow shade, #B8AB1E appears as (184, 171, 30) in RGB and (55°, 72%, 42%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameGoldenrod
HEX
#B8AB1E
RGB
184, 171, 30
HSL
55°, 72%, 42%
CMYK
0%, 7%, 84%, 28%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B8AB1E; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

184, 171, 30

Red: 184 / Green: 171 / Blue: 30

HSL

55°, 72%, 42%

Hue: 55° / Saturation: 72% / Lightness: 42%

CMYK

0%, 7%, 84%, 28%

Cyan: 0% / Magenta: 7% / Yellow: 84% / Key: 28%

What color is #B8AB1E?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B8AB1E to RGB:

rgb(184, 171, 30)HEX to RGB Converter →

HEX to HSL

Convert #B8AB1E to HSL:

hsl(55, 72%, 42%)RGB to HSL Converter →

HEX to CMYK

Convert #B8AB1E to CMYK:

cmyk(0%, 7%, 84%, 28%)Color Converter →

Color Meaning and Usage

A eye-catching yellow tone, #B8AB1E has RGB (184, 171, 30) and HSL (55°, 72%, 42%). Known for evoking optimism and creativity, this orange-yellow hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B8AB1E is #1E2BB8, creating high-contrast pairings. For softer combinations, try analogous colors like #B85E1E.

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

Contrast with #B8AB1E

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B8AB1E?

#B8AB1E is a eye-catching yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #B8AB1E?

#B8AB1E in RGB is (184, 171, 30) - 184 red, 171 green, and 30 blue.

How to use #B8AB1E in CSS?

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

What colors go well with #B8AB1E?

#1E2BB8 (complementary), #B85E1E (analogous), and #766E13 (lighter shade) work well with #B8AB1E.