#D7C342 Color Information
Hex color code: #D7C342
The hex color #D7C342 is a muted yellow with RGB values of (215, 195, 66) and HSL of (52°, 65%, 55%). It is widely used in graphic design.
Shades
color: #D7C342; background-color: #D7C342; border-color: #D7C342; box-shadow: 0 0 10px #D7C342; border: 2px solid #D7C342;
bg-[#D7C342] text-[#D7C342] border-[#D7C342] shadow-[0_0_10px_D7C342]
Generate Gradient
background: linear-gradient(90deg, #D7C342, #FF5733);
Preview in UI
Button
Badge
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.
Alert / Toast
Link / Accent
This is a paragraph with a link using your color. The color can be applied to interactive elements.
Related Colors
Complementary
Analogous
Triadic
Split Complementary
Tetradic
Monochromatic
Popular Colors
Common HEX Colors
Color Theory
Relationships based on the position of #D7C342 in the color wheel.
RGB, HSL and CMYK Values
RGB
215, 195, 66
Red: 215 / Green: 195 / Blue: 66
HSL
52°, 65%, 55%
Hue: 52° / Saturation: 65% / Lightness: 55%
CMYK
0%, 9%, 69%, 16%
Cyan: 0% / Magenta: 9% / Yellow: 69% / Key: 16%
What color is #D7C342?
#D7C342 is a orange-yellow hue associated with optimism and creativity.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
A subtle yellow tone, #D7C342 has RGB (215, 195, 66) and HSL (52°, 65%, 55%). Known for evoking optimism and creativity, this orange-yellow hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #D7C342 is #4256D7, creating high-contrast pairings. For softer combinations, try analogous colors like #D77842.
Use #D7C342 in CSS: color: #D7C342 or background-color: #D7C342. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #D7C342
Sample text on this color - The quick brown fox jumps over the lazy dog.
Need more control? Contrast Checker →
Frequently Asked Questions
What color is #D7C342?
#D7C342 is a subtle yellow color - a orange-yellow hue that evokes optimism and creativity.
What is the RGB value of #D7C342?
#D7C342 in RGB is (215, 195, 66) - 215 red, 195 green, and 66 blue.
How to use #D7C342 in CSS?
Use #D7C342 directly in your CSS properties like color or background-color.