#D9D920 Color Information

Hex color code: #D9D920

#D9D920 is a eye-catching yellow color. In RGB it is (217, 217, 32), and in HSL it is (60°, 74%, 49%). It is widely used in graphic design.

Try:
Color NameGold
HEX
#D9D920
RGB
217, 217, 32
HSL
60°, 74%, 49%
CMYK
0%, 0%, 85%, 15%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D9D920; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

217, 217, 32

Red: 217 / Green: 217 / Blue: 32

HSL

60°, 74%, 49%

Hue: 60° / Saturation: 74% / Lightness: 49%

CMYK

0%, 0%, 85%, 15%

Cyan: 0% / Magenta: 0% / Yellow: 85% / Key: 15%

What color is #D9D920?

#D9D920 is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D9D920 to RGB:

rgb(217, 217, 32)HEX to RGB Converter →

HEX to HSL

Convert #D9D920 to HSL:

hsl(60, 74%, 49%)RGB to HSL Converter →

HEX to CMYK

Convert #D9D920 to CMYK:

cmyk(0%, 0%, 85%, 15%)Color Converter →

Color Meaning and Usage

A bold yellow tone, #D9D920 has RGB (217, 217, 32) and HSL (60°, 74%, 49%). Known for evoking nature and harmony, this green hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D9D920 is #2020D9, creating high-contrast pairings. For softer combinations, try analogous colors like #D97D20.

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

Contrast with #D9D920

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D9D920?

#D9D920 is a bold yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #D9D920?

#D9D920 in RGB is (217, 217, 32) - 217 red, 217 green, and 32 blue.

How to use #D9D920 in CSS?

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

What colors go well with #D9D920?

#2020D9 (complementary), #D97D20 (analogous), and #979717 (lighter shade) work well with #D9D920.