#D7CD42 Color Information

Hex color code: #D7CD42

The hex color #D7CD42 is a balanced yellow with RGB values of (215, 205, 66) and HSL of (56°, 65%, 55%). It is often used for branding and logos.

Try:
Color NameGoldenrod
HEX
#D7CD42
RGB
215, 205, 66
HSL
56°, 65%, 55%
CMYK
0%, 5%, 69%, 16%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D7CD42; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

215, 205, 66

Red: 215 / Green: 205 / Blue: 66

HSL

56°, 65%, 55%

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

CMYK

0%, 5%, 69%, 16%

Cyan: 0% / Magenta: 5% / Yellow: 69% / Key: 16%

What color is #D7CD42?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D7CD42 to RGB:

rgb(215, 205, 66)HEX to RGB Converter →

HEX to HSL

Convert #D7CD42 to HSL:

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

HEX to CMYK

Convert #D7CD42 to CMYK:

cmyk(0%, 5%, 69%, 16%)Color Converter →

Color Meaning and Usage

#D7CD42 is a muted yellow color with RGB values of 215, 205, 66 and HSL of 56°, 65%, 55%. This orange-yellow hue evokes optimism and creativity, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D7CD42 is #424CD7, creating high-contrast pairings. For softer combinations, try analogous colors like #D78242.

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

Contrast with #D7CD42

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D7CD42?

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

What is the RGB value of #D7CD42?

#D7CD42 in RGB is (215, 205, 66) - 215 red, 205 green, and 66 blue.

How to use #D7CD42 in CSS?

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

What colors go well with #D7CD42?

#424CD7 (complementary), #D78242 (analogous), and #A89F24 (lighter shade) work well with #D7CD42.