#9B7912 Color Information

Hex color code: #9B7912

#9B7912 is a striking yellow color. In RGB it is (155, 121, 18), and in HSL it is (45°, 79%, 34%). It is often used for branding and logos.

Try:
Color NameDark Goldenrod
HEX
#9B7912
RGB
155, 121, 18
HSL
45°, 79%, 34%
CMYK
0%, 22%, 88%, 39%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #9B7912; 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 #9B7912; background-color: #9B791215; }

Alert / Toast

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

Link / Accent

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

a { color: #9B7912; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #9B7912 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

155, 121, 18

Red: 155 / Green: 121 / Blue: 18

HSL

45°, 79%, 34%

Hue: 45° / Saturation: 79% / Lightness: 34%

CMYK

0%, 22%, 88%, 39%

Cyan: 0% / Magenta: 22% / Yellow: 88% / Key: 39%

What color is #9B7912?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #9B7912 to RGB:

rgb(155, 121, 18)HEX to RGB Converter →

HEX to HSL

Convert #9B7912 to HSL:

hsl(45, 79%, 34%)RGB to HSL Converter →

HEX to CMYK

Convert #9B7912 to CMYK:

cmyk(0%, 22%, 88%, 39%)Color Converter →

Color Meaning and Usage

#9B7912 is a eye-catching yellow color with RGB values of 155, 121, 18 and HSL of 45°, 79%, 34%. This orange-yellow hue evokes optimism and creativity, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #9B7912 is #12349B, creating high-contrast pairings. For softer combinations, try analogous colors like #9B3412.

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

Contrast with #9B7912

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

Contrast Ratio: 5.14:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #9B7912?

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

What is the RGB value of #9B7912?

#9B7912 in RGB is (155, 121, 18) - 155 red, 121 green, and 18 blue.

How to use #9B7912 in CSS?

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

What colors go well with #9B7912?

#12349B (complementary), #9B3412 (analogous), and #57440A (lighter shade) work well with #9B7912.