Maroon Colors  ·  Color Library

Palettes / Colors / #DFCD42

#DFCD42 — Yellow

#DFCD42 is a yellow color we call Yellow, closest to the named color GoldenRod (#DAA520). It belongs to the yellow family.

Color name

Closest CSS keyword: goldenrod (#DAA520) — not an exact match. CSS goldenrod gives you #DAA520, a different color; use #DFCD42 when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#DFCD42 is a warm yellow color associated with optimism, attention and cheer. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #4356DF; it also sits naturally between #DF7F43 and #A4DF43. In the palettes below you can see it working alongside real color combinations from our collection.

#DFCD42 · RGB 223, 205, 66

Download PNG swatch SVG

Color values

HEX#DFCD42
RGB223, 205, 66
HSL53°, 71%, 57%
HSV53°, 70%, 87%
CMYK0%, 8%, 70%, 13%
XYZ53.25, 59.74, 13.88
Yxy59.74, 0.4197, 0.4709
CIE-Lab81.70, -8.94, 67.79
Hunter Lab77.29, -8.30, 40.76

RGB & CMYK percentages

Red 87% · Green 80% · Blue 26%

Cyan 0% · Magenta 8% · Yellow 70% · Key 13%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #DFCD42 on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #DFCD42 on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #DFCD42

.text { color: #DFCD42; }
.background { background-color: #DFCD42; }
.border { border: 3px solid #DFCD42; }
.text-rgb { color: rgb(223, 205, 66); }
.text-hsl { color: hsl(53, 71%, 57%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #DFCD42; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(223, 205, 66, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #DFCD42; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(223, 205, 66, 0.8); }

HTML: <p style="color:#DFCD42">Text here</p> · <div style="background-color:#DFCD42">Div content here</div>

Shades of #DFCD42

#DCC72E#C9B522#B3A11E#9D8E1B#877A17#6D6212#574F0F#413B0B#272307#111003

Tints of #DFCD42

#E2D255#E5D666#E8DB78#EBE089#EEE49B#F0E8A8#F3ECB9#F6F1CB#F9F6DC#FCFAEE

Tones of #DFCD42

#D4C54E#C9BC59#BEB464#B2AB70#A7A27B#9C9A86

Color harmonies

Complementary — #4356DF:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.62:1 Fails
Against black text12.95:1 AAA

Best text color on #DFCD42: #000000.

Semi-transparent (opacity) text on #DFCD42

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #DFCD42: ·

How #DFCD42 looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #D7D764Deuteranopia · #D8DA6CTritanopia · #DE7E84

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Material Lime 500 · #CDDC39Material Yellow 500 · #FFEB3BTailwind yellow 500 · #EAB308

Palettes with a similar color

These palettes use a close neighbour of #DFCD42 rather than the exact color:

Silent Solace
#E1CB3D · #769516 · #45861F · #3CE23E
Silent Marble
#DF3D9D · #DC3244 · #CC601B · #E4D03E
Palette 03256c
#03256C · #2541B2 · #1768AC · #E5D549
Dreamy Ruby Petal
#F7F1CF · #F2E6A1 · #E6CB38 · #685A0D
Rustic Ruby Bloom
#C96A4D · #B27D25 · #D9DA42 · #5E861F
Smoky Ruby Tempest
#E66A1C · #E2D050 · #9FDD39 · #51EE3A

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#E1CB3D#E4D03E#E5D549#E6CB38#D9DA42#E2D050#E5D93C#DBD44F#E9C74D#EFCC41#D8D051#EFD345

Browse neighbouring colors

← #DFCD41  ·  #DFCD43 →

Frequently asked questions

What color is #DFCD42?

#DFCD42 is Yellow, a yellow color (RGB 223, 205, 66). Its closest standard named color is GoldenRod.

What is the RGB and HSL of #DFCD42?

#DFCD42 is RGB 223, 205, 66 — HSL 53°, 71%, 57% — CMYK 0%, 8%, 70%, 13%.

What colors go with #DFCD42?

Its complement is #4356DF; analogous partners are #DF7F43 and #A4DF43. It also appears in 6+ palettes in our collection.

Can I use #DFCD42 for text?

Black text on #DFCD42 has a contrast ratio of 12.95:1 (passes WCAG AA); white text gives 1.62:1.