Maroon Colors  ·  Color Library

Palettes / Colors / #DFD04B

#DFD04B — Yellow

#DFD04B is a yellow color we call Yellow, closest to the named color DarkKhaki (#BDB76B). It belongs to the yellow family.

Color name

Closest CSS keyword: darkkhaki (#BDB76B) — not an exact match. CSS darkkhaki gives you #BDB76B, a different color; use #DFD04B 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.

#DFD04B 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 #4958DF; it also sits naturally between #DF8549 and #A3DF49. In the palettes below you can see it working alongside real color combinations from our collection.

#DFD04B · RGB 223, 208, 75

Download PNG swatch SVG

Color values

HEX#DFD04B
RGB223, 208, 75
HSL54°, 70%, 58%
HSV54°, 66%, 87%
CMYK0%, 7%, 66%, 13%
XYZ54.26, 61.31, 15.63
Yxy61.31, 0.4136, 0.4673
CIE-Lab82.54, -9.99, 65.18
Hunter Lab78.30, -9.30, 40.20

RGB & CMYK percentages

Red 87% · Green 82% · Blue 29%

Cyan 0% · Magenta 7% · Yellow 66% · Key 13%

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

Previews

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

CSS code for #DFD04B

.text { color: #DFD04B; }
.background { background-color: #DFD04B; }
.border { border: 3px solid #DFD04B; }
.text-rgb { color: rgb(223, 208, 75); }
.text-hsl { color: hsl(54, 70%, 58%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #DFD04B; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(223, 208, 75, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #DFD04B; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(223, 208, 75, 0.8); }

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

Shades of #DFD04B

#DBCA33#CCBB24#B6A720#9C8F1C#867B18#716714#57500F#413C0B#272407#111003

Tints of #DFD04B

#E2D45A#E5D96C#E7DC79#EAE18A#EDE59B#F0EAAD#F4EEBE#F6F2CB#F9F6DC#FCFBEE

Tones of #DFD04B

#D4C754#C9BF5E#BFB669#B4AE74#A9A57E#9F9C89

Color harmonies

Complementary — #4958DF:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.58:1 Fails
Against black text13.26:1 AAA

Best text color on #DFD04B: #000000.

Semi-transparent (opacity) text on #DFD04B

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

How #DFD04B looks with color blindness

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

Protanopia · #D9D86BDeuteranopia · #D9DB73Tritanopia · #DE858A

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

Smoky Ruby Tempest
#E66A1C · #E2D050 · #9FDD39 · #51EE3A
Radiant Ruby Aurora
#25B6AF · #B126B9 · #DBD44F · #B9E8E8
Palette 03256c
#03256C · #2541B2 · #1768AC · #E5D549
Rustic Ruby Zephyr
#A427AC · #D8D051 · #48D6CD · #DCB4E5
Velvet Ruby Solace
#9B2544 · #CB7546 · #D8D351 · #528D28
Honey Ember
#E2D483 · #DAC652 · #908028 · #484014

Similar colors

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

#E2D050#DBD44F#E5D549#D8D051#D8D351#DAC652#E9C74D#E4D03E#D9DA42#E1CB3D#E0C658#EFD448

Browse neighbouring colors

← #DFD04A  ·  #DFD04C →

Frequently asked questions

What color is #DFD04B?

#DFD04B is Yellow, a yellow color (RGB 223, 208, 75). Its closest standard named color is DarkKhaki.

What is the RGB and HSL of #DFD04B?

#DFD04B is RGB 223, 208, 75 — HSL 54°, 70%, 58% — CMYK 0%, 7%, 66%, 13%.

What colors go with #DFD04B?

Its complement is #4958DF; analogous partners are #DF8549 and #A3DF49. It also appears in 6+ palettes in our collection.

Can I use #DFD04B for text?

Black text on #DFD04B has a contrast ratio of 13.26:1 (passes WCAG AA); white text gives 1.58:1.