Maroon Colors  ·  Color Library

Palettes / Colors / #DFD931

#DFD931 — Yellow

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

#DFD931 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 #3035DF; it also sits naturally between #DF8130 and #8DDF30. In the palettes below you can see it working alongside real color combinations from our collection.

#DFD931 · RGB 223, 217, 49

Download PNG swatch SVG

Color values

HEX#DFD931
RGB223, 217, 49
HSL58°, 73%, 53%
HSV58°, 78%, 87%
CMYK0%, 3%, 78%, 13%
XYZ55.80, 65.54, 12.61
Yxy65.54, 0.4166, 0.4893
CIE-Lab84.76, -15.64, 76.22
Hunter Lab80.95, -14.54, 44.68

RGB & CMYK percentages

Red 87% · Green 85% · Blue 19%

Cyan 0% · Magenta 3% · Yellow 78% · Key 13%

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

Previews

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

CSS code for #DFD931

.text { color: #DFD931; }
.background { background-color: #DFD931; }
.border { border: 3px solid #DFD931; }
.text-rgb { color: rgb(223, 217, 49); }
.text-hsl { color: hsl(58, 73%, 53%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #DFD931; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(223, 217, 49, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #DFD931; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(223, 217, 49, 0.8); }

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

Shades of #DFD931

#D4CE21#BEB81E#A8A31A#928D17#807C14#6A6711#54510D#3E3C0A#282706#121103

Tints of #DFD931

#E1DC41#E5E057#E8E369#EAE77B#EEEB91#F1EEA2#F3F1B4#F6F4C6#F9F8DC#FCFCED

Tones of #DFD931

#D3CE3C#C5C149#B9B655#ACAA62#A09F6E#93927B

Color harmonies

Complementary — #3035DF:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.49:1 Fails
Against black text14.11:1 AAA

Best text color on #DFD931: #000000.

Semi-transparent (opacity) text on #DFD931

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

How #DFD931 looks with color blindness

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

Protanopia · #DCDC5ADeuteranopia · #DDDD63Tritanopia · #DF7A81

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

Burning Ruby Saffron
#DDDB30 · #A7DB5B · #40C225 · #3FE86A
Amber Ruby Breeze
#8A9416 · #E1E237 · #6358E7 · #B3ACED
Palette 0d0b61
#0D0B61 · #294669 · #478B8D · #E4D329
Silent Canyon
#E08B56 · #E5D93C · #A1E752 · #61E664
Palette 61a3ba
#61A3BA · #FFFFDD · #D2DE32 · #A2C579
Palette 016a70
#016A70 · #FFFFDD · #D2DE32 · #A2C579

Similar colors

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

#DDDB30#E1E237#E4D329#E5D93C#D2DE32#DEDA22#D2D929#E4D03E#E6CB38#D7CA2D#D8E324#D9DA42

Browse neighbouring colors

← #DFD930  ·  #DFD932 →

Frequently asked questions

What color is #DFD931?

#DFD931 is Yellow, a yellow color (RGB 223, 217, 49). Its closest standard named color is GoldenRod.

What is the RGB and HSL of #DFD931?

#DFD931 is RGB 223, 217, 49 — HSL 58°, 73%, 53% — CMYK 0%, 3%, 78%, 13%.

What colors go with #DFD931?

Its complement is #3035DF; analogous partners are #DF8130 and #8DDF30. It also appears in 6+ palettes in our collection.

Can I use #DFD931 for text?

Black text on #DFD931 has a contrast ratio of 14.11:1 (passes WCAG AA); white text gives 1.49:1.