#D2C52D Color Information

Hex color code: #D2C52D

A subtle yellow shade, #D2C52D appears as (210, 197, 45) in RGB and (55°, 65%, 50%) in HSL. It is popular in mobile app design.

Try:
Color NameGoldenrod
HEX
#D2C52D
RGB
210, 197, 45
HSL
55°, 65%, 50%
CMYK
0%, 6%, 79%, 18%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D2C52D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

210, 197, 45

Red: 210 / Green: 197 / Blue: 45

HSL

55°, 65%, 50%

Hue: 55° / Saturation: 65% / Lightness: 50%

CMYK

0%, 6%, 79%, 18%

Cyan: 0% / Magenta: 6% / Yellow: 79% / Key: 18%

What color is #D2C52D?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D2C52D to RGB:

rgb(210, 197, 45)HEX to RGB Converter →

HEX to HSL

Convert #D2C52D to HSL:

hsl(55, 65%, 50%)RGB to HSL Converter →

HEX to CMYK

Convert #D2C52D to CMYK:

cmyk(0%, 6%, 79%, 18%)Color Converter →

Color Meaning and Usage

#D2C52D is a muted yellow color with RGB values of 210, 197, 45 and HSL of 55°, 65%, 50%. 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 #D2C52D is #2D3AD2, creating high-contrast pairings. For softer combinations, try analogous colors like #D2722D.

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

Contrast with #D2C52D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D2C52D?

#D2C52D is a muted yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #D2C52D?

#D2C52D in RGB is (210, 197, 45) - 210 red, 197 green, and 45 blue.

How to use #D2C52D in CSS?

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

What colors go well with #D2C52D?

#2D3AD2 (complementary), #D2722D (analogous), and #938A1F (lighter shade) work well with #D2C52D.