#D9AC17 Color Information

Hex color code: #D9AC17

The hex color #D9AC17 is a bold yellow with RGB values of (217, 172, 23) and HSL of (46°, 81%, 47%). It is frequently seen in web interfaces.

Try:
Color NameGoldenrod
HEX
#D9AC17
RGB
217, 172, 23
HSL
46°, 81%, 47%
CMYK
0%, 21%, 89%, 15%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D9AC17; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

217, 172, 23

Red: 217 / Green: 172 / Blue: 23

HSL

46°, 81%, 47%

Hue: 46° / Saturation: 81% / Lightness: 47%

CMYK

0%, 21%, 89%, 15%

Cyan: 0% / Magenta: 21% / Yellow: 89% / Key: 15%

What color is #D9AC17?

#D9AC17 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D9AC17 to RGB:

rgb(217, 172, 23)HEX to RGB Converter →

HEX to HSL

Convert #D9AC17 to HSL:

hsl(46, 81%, 47%)RGB to HSL Converter →

HEX to CMYK

Convert #D9AC17 to CMYK:

cmyk(0%, 21%, 89%, 15%)Color Converter →

Color Meaning and Usage

A bold yellow tone, #D9AC17 has RGB (217, 172, 23) and HSL (46°, 81%, 47%). Known for evoking energy and excitement, this highly saturated hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D9AC17 is #1744D9, creating high-contrast pairings. For softer combinations, try analogous colors like #D94B17.

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

Contrast with #D9AC17

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D9AC17?

#D9AC17 is a bold yellow color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #D9AC17?

#D9AC17 in RGB is (217, 172, 23) - 217 red, 172 green, and 23 blue.

How to use #D9AC17 in CSS?

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

What colors go well with #D9AC17?

#1744D9 (complementary), #D94B17 (analogous), and #947510 (lighter shade) work well with #D9AC17.