Maroon Colors  ·  Color Library

Palettes / Colors / #DFD562

#DFD562 — Yellow

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

#DFD562 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 #626DDF; it also sits naturally between #DF9662 and #ABDF62. In the palettes below you can see it working alongside real color combinations from our collection.

#DFD562 · RGB 223, 213, 98

Download PNG swatch SVG

Color values

HEX#DFD562
RGB223, 213, 98
HSL55°, 66%, 63%
HSV55°, 56%, 87%
CMYK0%, 4%, 56%, 13%
XYZ56.43, 64.16, 20.96
Yxy64.16, 0.3986, 0.4532
CIE-Lab84.05, -11.00, 57.01
Hunter Lab80.10, -10.30, 37.58

RGB & CMYK percentages

Red 87% · Green 84% · Blue 38%

Cyan 0% · Magenta 4% · Yellow 56% · Key 13%

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

Previews

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

CSS code for #DFD562

.text { color: #DFD562; }
.background { background-color: #DFD562; }
.border { border: 3px solid #DFD562; }
.text-rgb { color: rgb(223, 213, 98); }
.text-hsl { color: hsl(55, 66%, 63%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #DFD562; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(223, 213, 98, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #DFD562; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(223, 213, 98, 0.8); }

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

Shades of #DFD562

#DACE49#D5C730#BEB227#A59A22#90861D#776F18#5D5713#443F0E#2A2809#111003

Tints of #DFD562

#E2D86F#E5DD80#E8E08D#EAE399#EEE8AA#F0EBB7#F3EFC4#F5F2D0#F9F7E1#FCFAEE

Tones of #DFD562

#D6CD6B#CDC674#C5BF7D#BBB786#B3B08F#A9A898

Color harmonies

Complementary — #626DDF:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.52:1 Fails
Against black text13.83:1 AAA

Best text color on #DFD562: #000000.

Semi-transparent (opacity) text on #DFD562

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

How #DFD562 looks with color blindness

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

Protanopia · #DBDB7EDeuteranopia · #DBDC85Tritanopia · #DF9499

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 · #FFEB3BMaterial Light Green 500 · #8BC34A

Palettes with a similar color

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

Radiant Ruby Cinder
#E2D365 · #C5B225 · #9D8C16 · #6E6416
Palette 454040
#454040 · #605B51 · #D8D365 · #E6F082
Palette 2f5249
#2F5249 · #437057 · #97B067 · #E3DE61
Palette D6d85d
#D6D85D · #ECEDB0 · #EAD8A4 · #F68537
Silent Lagoon
#2F36B4 · #857EDD · #D9D36D · #E2DAAB
Hidden Mosaic
#AA5131 · #E4BB79 · #D4D167 · #A2D43F

Similar colors

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

#E2D365#D8D365#E3DE61#D6D85D#D9D36D#D4D167#EBD966#E5C95F#D8C962#E9CD5C#D6D46D#D9D46F

Browse neighbouring colors

← #DFD561  ·  #DFD563 →

Frequently asked questions

What color is #DFD562?

#DFD562 is Yellow, a yellow color (RGB 223, 213, 98). Its closest standard named color is DarkKhaki.

What is the RGB and HSL of #DFD562?

#DFD562 is RGB 223, 213, 98 — HSL 55°, 66%, 63% — CMYK 0%, 4%, 56%, 13%.

What colors go with #DFD562?

Its complement is #626DDF; analogous partners are #DF9662 and #ABDF62. It also appears in 6+ palettes in our collection.

Can I use #DFD562 for text?

Black text on #DFD562 has a contrast ratio of 13.83:1 (passes WCAG AA); white text gives 1.52:1.