#D7C523 Color Information

Hex color code: #D7C523

The hex color #D7C523 is a eye-catching yellow with RGB values of (215, 197, 35) and HSL of (54°, 72%, 49%). It is widely used in graphic design.

Try:
Color NameGoldenrod
HEX
#D7C523
RGB
215, 197, 35
HSL
54°, 72%, 49%
CMYK
0%, 8%, 84%, 16%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D7C523; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

215, 197, 35

Red: 215 / Green: 197 / Blue: 35

HSL

54°, 72%, 49%

Hue: 54° / Saturation: 72% / Lightness: 49%

CMYK

0%, 8%, 84%, 16%

Cyan: 0% / Magenta: 8% / Yellow: 84% / Key: 16%

What color is #D7C523?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D7C523 to RGB:

rgb(215, 197, 35)HEX to RGB Converter →

HEX to HSL

Convert #D7C523 to HSL:

hsl(54, 72%, 49%)RGB to HSL Converter →

HEX to CMYK

Convert #D7C523 to CMYK:

cmyk(0%, 8%, 84%, 16%)Color Converter →

Color Meaning and Usage

#D7C523 is a eye-catching yellow color with RGB values of 215, 197, 35 and HSL of 54°, 72%, 49%. This orange-yellow hue evokes optimism and creativity, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D7C523 is #2335D7, creating high-contrast pairings. For softer combinations, try analogous colors like #D76B23.

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

Contrast with #D7C523

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D7C523?

#D7C523 is a eye-catching yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #D7C523?

#D7C523 in RGB is (215, 197, 35) - 215 red, 197 green, and 35 blue.

How to use #D7C523 in CSS?

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

What colors go well with #D7C523?

#2335D7 (complementary), #D76B23 (analogous), and #958918 (lighter shade) work well with #D7C523.