Maroon Colors  ·  Color Library

Palettes / Colors / #DFD221

#DFD221 — Yellow

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

#DFD221 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 #202DDF; it also sits naturally between #DF7320 and #8CDF20. In the palettes below you can see it working alongside real color combinations from our collection.

#DFD221 · RGB 223, 210, 33

Download PNG swatch SVG

Color values

HEX#DFD221
RGB223, 210, 33
HSL56°, 75%, 50%
HSV56°, 85%, 87%
CMYK0%, 6%, 85%, 13%
XYZ53.75, 61.89, 10.55
Yxy61.89, 0.4259, 0.4904
CIE-Lab82.86, -12.62, 78.57
Hunter Lab78.67, -11.69, 44.48

RGB & CMYK percentages

Red 87% · Green 82% · Blue 13%

Cyan 0% · Magenta 6% · Yellow 85% · Key 13%

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

Previews

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

CSS code for #DFD221

.text { color: #DFD221; }
.background { background-color: #DFD221; }
.border { border: 3px solid #DFD221; }
.text-rgb { color: rgb(223, 210, 33); }
.text-hsl { color: hsl(56, 75%, 50%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #DFD221; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(223, 210, 33, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #DFD221; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(223, 210, 33, 0.8); }

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

Shades of #DFD221

#C9BD1D#B7AD1A#A19717#8F8714#787211#625D0E#504C0B#3A3708#282606#121103

Tints of #DFD221

#E2D736#E5DA48#E8DF5E#EBE270#EEE787#F1EB9D#F4EFAF#F7F3C5#F9F7D7#FCFBED

Tones of #DFD221

#D1C62E#C4BB3B#B6AF49#A8A357#9A9765#8E8C71

Color harmonies

Complementary — #202DDF:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.57:1 Fails
Against black text13.38:1 AAA

Best text color on #DFD221: #000000.

Semi-transparent (opacity) text on #DFD221

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

How #DFD221 looks with color blindness

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

Protanopia · #D9D94CDeuteranopia · #DADB56Tritanopia · #DE6E75

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 #DFD221 rather than the exact color:

Mellow Ruby Monsoon
#141B87 · #4C71E5 · #DED220 · #E8EDAC
Radiant Terrace
#DEDA22 · #ADF180 · #6BF08A · #2BE6CB
Palette 0d0b61
#0D0B61 · #294669 · #478B8D · #E4D329
Smoky Ruby Voyage
#E3CA1D · #C6EB56 · #55A722 · #58E956
Mellow Aurora
#17A296 · #D644E4 · #D8C81F · #A7E9DE
Smoky Monsoon
#152BC9 · #3534EA · #E1C817 · #F4F4C0

Similar colors

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

#DED220#DEDA22#E4D329#E3CA1D#D8C81F#E1C817#D0D41F#D5C828#D7CA2D#D2D929#DDDB30#D3C526

Browse neighbouring colors

← #DFD220  ·  #DFD222 →

Frequently asked questions

What color is #DFD221?

#DFD221 is Yellow, a yellow color (RGB 223, 210, 33). Its closest standard named color is GoldenRod.

What is the RGB and HSL of #DFD221?

#DFD221 is RGB 223, 210, 33 — HSL 56°, 75%, 50% — CMYK 0%, 6%, 85%, 13%.

What colors go with #DFD221?

Its complement is #202DDF; analogous partners are #DF7320 and #8CDF20. It also appears in 6+ palettes in our collection.

Can I use #DFD221 for text?

Black text on #DFD221 has a contrast ratio of 13.38:1 (passes WCAG AA); white text gives 1.57:1.