Maroon Colors  ·  Color Library

Palettes / Colors / #DFD40C

#DFD40C — Vivid Yellow

#DFD40C is a yellow color we call Vivid Yellow, closest to the named color Gold (#FFD700). It belongs to the yellow family.

Color name

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

#DFD40C 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 #0C16DF; it also sits naturally between #DF6B0C and #80DF0C. In the palettes below you can see it working alongside real color combinations from our collection.

#DFD40C · RGB 223, 212, 12

Download PNG swatch SVG

Color values

HEX#DFD40C
RGB223, 212, 12
HSL57°, 90%, 46%
HSV57°, 95%, 87%
CMYK0%, 5%, 95%, 13%
XYZ54.04, 62.80, 9.62
Yxy62.80, 0.4273, 0.4966
CIE-Lab83.34, -13.96, 82.19
Hunter Lab79.25, -12.93, 45.65

RGB & CMYK percentages

Red 87% · Green 83% · Blue 5%

Cyan 0% · Magenta 5% · Yellow 95% · Key 13%

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

Previews

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

CSS code for #DFD40C

.text { color: #DFD40C; }
.background { background-color: #DFD40C; }
.border { border: 3px solid #DFD40C; }
.text-rgb { color: rgb(223, 212, 12); }
.text-hsl { color: hsl(57, 90%, 46%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #DFD40C; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(223, 212, 12, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #DFD40C; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(223, 212, 12, 0.8); }

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

Shades of #DFD40C

#CBC20B#B8AF0A#A09808#8D8607#797306#666105#524E04#3A3703#272502#131201

Tints of #DFD40C

#F3E712#F4EA2A#F5EC42#F6EF5A#F8F172#F9F38B#FAF6A3#FBF8BB#FDFBD3#FEFDEC

Tones of #DFD40C

#D0C71B#C0B92A#B1AB39#A39E48#949157#858366

Color harmonies

Complementary — #0C16DF:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.55:1 Fails
Against black text13.56:1 AAA

Best text color on #DFD40C: #000000.

Semi-transparent (opacity) text on #DFD40C

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

How #DFD40C looks with color blindness

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

Protanopia · #DADA3CDeuteranopia · #DBDC48Tritanopia · #DE636B

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:

Tailwind yellow 500 · #EAB308Material Amber 500 · #FFC107Bootstrap warning · #FFC107

Palettes with a similar color

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

Scarlet Marble
#D4D713 · #B2E963 · #6EE750 · #10C133
Crimson Drift
#EBDD12 · #B1EF75 · #10C51F · #63E8BA
Smoky Monsoon
#152BC9 · #3534EA · #E1C817 · #F4F4C0
Palette 063b00
#063B00 · #266210 · #90B800 · #E1E100
Mellow Ruby Monsoon
#141B87 · #4C71E5 · #DED220 · #E8EDAC
Smoky Ruby Voyage
#E3CA1D · #C6EB56 · #55A722 · #58E956

Similar colors

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

#D4D713#EBDD12#E1C817#E1E100#DED220#E3CA1D#DBBF0D#DEDA22#F4CE14#D8C81F#D0D41F#CEE415

Browse neighbouring colors

← #DFD40B  ·  #DFD40D →

Frequently asked questions

What color is #DFD40C?

#DFD40C is Vivid Yellow, a yellow color (RGB 223, 212, 12). Its closest standard named color is Gold.

What is the RGB and HSL of #DFD40C?

#DFD40C is RGB 223, 212, 12 — HSL 57°, 90%, 46% — CMYK 0%, 5%, 95%, 13%.

What colors go with #DFD40C?

Its complement is #0C16DF; analogous partners are #DF6B0C and #80DF0C. It also appears in 6+ palettes in our collection.

Can I use #DFD40C for text?

Black text on #DFD40C has a contrast ratio of 13.56:1 (passes WCAG AA); white text gives 1.55:1.