#D8AB18 Color Information

Hex color code: #D8AB18

The hex color #D8AB18 is a bold yellow with RGB values of (216, 171, 24) and HSL of (46°, 80%, 47%). It is often used for branding and logos.

Try:
Color NameGoldenrod
HEX
#D8AB18
RGB
216, 171, 24
HSL
46°, 80%, 47%
CMYK
0%, 21%, 89%, 15%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D8AB18; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

216, 171, 24

Red: 216 / Green: 171 / Blue: 24

HSL

46°, 80%, 47%

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

CMYK

0%, 21%, 89%, 15%

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

What color is #D8AB18?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D8AB18 to RGB:

rgb(216, 171, 24)HEX to RGB Converter →

HEX to HSL

Convert #D8AB18 to HSL:

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

HEX to CMYK

Convert #D8AB18 to CMYK:

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

Color Meaning and Usage

A striking yellow tone, #D8AB18 has RGB (216, 171, 24) and HSL (46°, 80%, 47%). Known for evoking optimism and creativity, this orange-yellow hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D8AB18 is #1845D8, creating high-contrast pairings. For softer combinations, try analogous colors like #D84B18.

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

Contrast with #D8AB18

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D8AB18?

#D8AB18 is a striking yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #D8AB18?

#D8AB18 in RGB is (216, 171, 24) - 216 red, 171 green, and 24 blue.

How to use #D8AB18 in CSS?

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

What colors go well with #D8AB18?

#1845D8 (complementary), #D84B18 (analogous), and #937410 (lighter shade) work well with #D8AB18.