Maroon Colors  ·  Color Library

Palettes / Colors / #DFCD28

#DFCD28 — Yellow

#DFCD28 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 #DFCD28 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.

#DFCD28 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 #2A3CDF; it also sits naturally between #DF722A and #97DF2A. In the palettes below you can see it working alongside real color combinations from our collection.

#DFCD28 · RGB 223, 205, 40

Download PNG swatch SVG

Color values

HEX#DFCD28
RGB223, 205, 40
HSL54°, 74%, 52%
HSV54°, 82%, 87%
CMYK0%, 8%, 82%, 13%
XYZ52.65, 59.50, 10.72
Yxy59.50, 0.4285, 0.4843
CIE-Lab81.57, -9.93, 75.87
Hunter Lab77.14, -9.19, 43.16

RGB & CMYK percentages

Red 87% · Green 80% · Blue 16%

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

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

Previews

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

CSS code for #DFCD28

.text { color: #DFCD28; }
.background { background-color: #DFCD28; }
.border { border: 3px solid #DFCD28; }
.text-rgb { color: rgb(223, 205, 40); }
.text-hsl { color: hsl(54, 74%, 52%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #DFCD28; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(223, 205, 40, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #DFCD28; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(223, 205, 40, 0.8); }

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

Shades of #DFCD28

#D1BF1F#BAAB1C#A99A19#928616#7C7213#665D0F#50490C#3E3909#282506#121003

Tints of #DFCD28

#E2D13C#E5D652#E8DB64#EBE07A#EEE48C#F0E89D#F4EDB4#F6F1C5#FAF7DC#FCFBED

Tones of #DFCD28

#D2C237#C5B844#B8AE51#ACA45D#9E996B#928F77

Color harmonies

Complementary — #2A3CDF:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.63:1 Fails
Against black text12.90:1 AAA

Best text color on #DFCD28: #000000.

Semi-transparent (opacity) text on #DFCD28

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 #DFCD28: ·

How #DFCD28 looks with color blindness

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

Protanopia · #D7D750Deuteranopia · #D8DA5ATritanopia · #DE6F76

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 · #CDDC39Tailwind yellow 500 · #EAB308Material Amber 500 · #FFC107

Palettes with a similar color

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

Palette 0d0b61
#0D0B61 · #294669 · #478B8D · #E4D329
Mellow Ruby Monsoon
#141B87 · #4C71E5 · #DED220 · #E8EDAC
Lucky Voyage
#CF6B49 · #EAC083 · #D7CA2D · #B2D254
Velvet Ruby Zephyr
#A2581F · #D5C828 · #B3E46F · #B2EFAC
Smoky Ruby Voyage
#E3CA1D · #C6EB56 · #55A722 · #58E956
Mellow Aurora
#17A296 · #D644E4 · #D8C81F · #A7E9DE

Similar colors

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

#E4D329#DED220#D7CA2D#D5C828#E3CA1D#D8C81F#DEDA22#D3C526#EDC92C#D0CD2D#DDDB30#D2CA32

Browse neighbouring colors

← #DFCD27  ·  #DFCD29 →

Frequently asked questions

What color is #DFCD28?

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

What is the RGB and HSL of #DFCD28?

#DFCD28 is RGB 223, 205, 40 — HSL 54°, 74%, 52% — CMYK 0%, 8%, 82%, 13%.

What colors go with #DFCD28?

Its complement is #2A3CDF; analogous partners are #DF722A and #97DF2A. It also appears in 6+ palettes in our collection.

Can I use #DFCD28 for text?

Black text on #DFCD28 has a contrast ratio of 12.90:1 (passes WCAG AA); white text gives 1.63:1.