#D2CD32 Color Information

Hex color code: #D2CD32

A understated yellow shade, #D2CD32 appears as (210, 205, 50) in RGB and (58°, 64%, 51%) in HSL. It is widely used in graphic design.

Try:
Color NameGoldenrod
HEX
#D2CD32
RGB
210, 205, 50
HSL
58°, 64%, 51%
CMYK
0%, 2%, 76%, 18%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D2CD32; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

210, 205, 50

Red: 210 / Green: 205 / Blue: 50

HSL

58°, 64%, 51%

Hue: 58° / Saturation: 64% / Lightness: 51%

CMYK

0%, 2%, 76%, 18%

Cyan: 0% / Magenta: 2% / Yellow: 76% / Key: 18%

What color is #D2CD32?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D2CD32 to RGB:

rgb(210, 205, 50)HEX to RGB Converter →

HEX to HSL

Convert #D2CD32 to HSL:

hsl(58, 64%, 51%)RGB to HSL Converter →

HEX to CMYK

Convert #D2CD32 to CMYK:

cmyk(0%, 2%, 76%, 18%)Color Converter →

Color Meaning and Usage

#D2CD32 is a balanced yellow color with RGB values of 210, 205, 50 and HSL of 58°, 64%, 51%. This orange-yellow hue evokes optimism and creativity, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D2CD32 is #3237D2, creating high-contrast pairings. For softer combinations, try analogous colors like #D27D32.

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

Contrast with #D2CD32

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D2CD32?

#D2CD32 is a balanced yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #D2CD32?

#D2CD32 in RGB is (210, 205, 50) - 210 red, 205 green, and 50 blue.

How to use #D2CD32 in CSS?

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

What colors go well with #D2CD32?

#3237D2 (complementary), #D27D32 (analogous), and #979321 (lighter shade) work well with #D2CD32.