#B1981B Color Information

Hex color code: #B1981B

#B1981B is a eye-catching yellow color. In RGB it is (177, 152, 27), and in HSL it is (50°, 74%, 40%). It is popular in mobile app design.

Try:
Color NameDark Goldenrod
HEX
#B1981B
RGB
177, 152, 27
HSL
50°, 74%, 40%
CMYK
0%, 14%, 85%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B1981B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

177, 152, 27

Red: 177 / Green: 152 / Blue: 27

HSL

50°, 74%, 40%

Hue: 50° / Saturation: 74% / Lightness: 40%

CMYK

0%, 14%, 85%, 31%

Cyan: 0% / Magenta: 14% / Yellow: 85% / Key: 31%

What color is #B1981B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B1981B to RGB:

rgb(177, 152, 27)HEX to RGB Converter →

HEX to HSL

Convert #B1981B to HSL:

hsl(50, 74%, 40%)RGB to HSL Converter →

HEX to CMYK

Convert #B1981B to CMYK:

cmyk(0%, 14%, 85%, 31%)Color Converter →

Color Meaning and Usage

A eye-catching yellow tone, #B1981B has RGB (177, 152, 27) and HSL (50°, 74%, 40%). Known for evoking optimism and creativity, this orange-yellow hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B1981B is #1B34B1, creating high-contrast pairings. For softer combinations, try analogous colors like #B14D1B.

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

Contrast with #B1981B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B1981B?

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

What is the RGB value of #B1981B?

#B1981B in RGB is (177, 152, 27) - 177 red, 152 green, and 27 blue.

How to use #B1981B in CSS?

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

What colors go well with #B1981B?

#1B34B1 (complementary), #B14D1B (analogous), and #6F5F11 (lighter shade) work well with #B1981B.