#AD981F Color Information

Hex color code: #AD981F

The hex color #AD981F is a muted yellow with RGB values of (173, 152, 31) and HSL of (51°, 70%, 40%). It is typically applied in digital products.

Try:
Color NameDark Goldenrod
HEX
#AD981F
RGB
173, 152, 31
HSL
51°, 70%, 40%
CMYK
0%, 12%, 82%, 32%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AD981F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

173, 152, 31

Red: 173 / Green: 152 / Blue: 31

HSL

51°, 70%, 40%

Hue: 51° / Saturation: 70% / Lightness: 40%

CMYK

0%, 12%, 82%, 32%

Cyan: 0% / Magenta: 12% / Yellow: 82% / Key: 32%

What color is #AD981F?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AD981F to RGB:

rgb(173, 152, 31)HEX to RGB Converter →

HEX to HSL

Convert #AD981F to HSL:

hsl(51, 70%, 40%)RGB to HSL Converter →

HEX to CMYK

Convert #AD981F to CMYK:

cmyk(0%, 12%, 82%, 32%)Color Converter →

Color Meaning and Usage

A understated yellow tone, #AD981F has RGB (173, 152, 31) and HSL (51°, 70%, 40%). Known for evoking optimism and creativity, this orange-yellow hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AD981F is #1F34AD, creating high-contrast pairings. For softer combinations, try analogous colors like #AD511F.

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

Contrast with #AD981F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AD981F?

#AD981F is a understated yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #AD981F?

#AD981F in RGB is (173, 152, 31) - 173 red, 152 green, and 31 blue.

How to use #AD981F in CSS?

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

What colors go well with #AD981F?

#1F34AD (complementary), #AD511F (analogous), and #6C5F13 (lighter shade) work well with #AD981F.