Maroon Colors  ·  Color Library

Palettes / Colors / #DFDF50

#DFDF50 — Yellow

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

#DFDF50 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 #4E4EDF; it also sits naturally between #DF964E and #96DF4E. In the palettes below you can see it working alongside real color combinations from our collection.

#DFDF50 · RGB 223, 223, 80

Download PNG swatch SVG

Color values

HEX#DFDF50
RGB223, 223, 80
HSL60°, 69%, 59%
HSV60°, 64%, 87%
CMYK0%, 0%, 64%, 13%
XYZ58.27, 69.04, 17.84
Yxy69.04, 0.4014, 0.4756
CIE-Lab86.53, -17.17, 67.32
Hunter Lab83.09, -16.05, 42.48

RGB & CMYK percentages

Red 87% · Green 87% · Blue 31%

Cyan 0% · Magenta 0% · Yellow 64% · Key 13%

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

Previews

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

CSS code for #DFDF50

.text { color: #DFDF50; }
.background { background-color: #DFDF50; }
.border { border: 3px solid #DFDF50; }
.text-rgb { color: rgb(223, 223, 80); }
.text-hsl { color: hsl(60, 69%, 59%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #DFDF50; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(223, 223, 80, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #DFDF50; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(223, 223, 80, 0.8); }

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

Shades of #DFDF50

#DBDB39#CFCF26#B9B922#9F9F1D#8A8A19#707015#5A5A11#41410C#2B2B08#111103

Tints of #DFDF50

#E2E260#E4E46C#E7E77E#EAEA8F#EEEEA0#F0F0AD#F3F3BE#F6F6D0#F9F9DD#FCFCEE

Tones of #DFDF50

#D4D459#CACA63#BFBF6E#B6B677#ABAB82#A1A18C

Color harmonies

Complementary — #4E4EDF:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.42:1 Fails
Against black text14.81:1 AAA

Best text color on #DFDF50: #000000.

Semi-transparent (opacity) text on #DFDF50

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

How #DFDF50 looks with color blindness

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

Protanopia · #DFDF73Deuteranopia · #DFDF7BTritanopia · #DF8E94

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

Electric Ruby Voyage
#DBE156 · #C9D020 · #616511 · #43460C
Radiant Ruby Aurora
#25B6AF · #B126B9 · #DBD44F · #B9E8E8
Lucky Ruby Ember
#BFA815 · #ECE24F · #2F49E8 · #9997ED
Palette 03256c
#03256C · #2541B2 · #1768AC · #E5D549
Velvet Ruby Solace
#9B2544 · #CB7546 · #D8D351 · #528D28
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:

#DBE156#DBD44F#ECE24F#E5D549#D8D351#E2D050#E3ED4B#ECE852#D9DA42#D4E345#E3EF4F#D8D051

Browse neighbouring colors

← #DFDF4F  ·  #DFDF51 →

Frequently asked questions

What color is #DFDF50?

#DFDF50 is Yellow, a yellow color (RGB 223, 223, 80). Its closest standard named color is DarkKhaki.

What is the RGB and HSL of #DFDF50?

#DFDF50 is RGB 223, 223, 80 — HSL 60°, 69%, 59% — CMYK 0%, 0%, 64%, 13%.

What colors go with #DFDF50?

Its complement is #4E4EDF; analogous partners are #DF964E and #96DF4E. It also appears in 6+ palettes in our collection.

Can I use #DFDF50 for text?

Black text on #DFDF50 has a contrast ratio of 14.81:1 (passes WCAG AA); white text gives 1.42:1.