Maroon Colors  ·  Color Library

Palettes / Colors / #DFCA31

#DFCA31 — Yellow

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

#DFCA31 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 #3044DF; it also sits naturally between #DF7330 and #9CDF30. In the palettes below you can see it working alongside real color combinations from our collection.

#DFCA31 · RGB 223, 202, 49

Download PNG swatch SVG

Color values

HEX#DFCA31
RGB223, 202, 49
HSL53°, 73%, 53%
HSV53°, 78%, 87%
CMYK0%, 9%, 78%, 13%
XYZ52.11, 58.15, 11.38
Yxy58.15, 0.4284, 0.4781
CIE-Lab80.82, -8.12, 72.72
Hunter Lab76.26, -7.52, 41.93

RGB & CMYK percentages

Red 87% · Green 79% · Blue 19%

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

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

Previews

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

CSS code for #DFCA31

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

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

Shades of #DFCA31

#D4BF21#BEAB1E#A8971A#928317#807314#6A5F11#544C0D#3E380A#282406#121003

Tints of #DFCA31

#E1CF41#E5D457#E8D969#EADD7B#EEE391#F1E7A2#F3ECB4#F6F0C6#F9F6DC#FCFBED

Tones of #DFCA31

#D3C13C#C5B749#B9AE55#ACA462#A09A6E#93907B

Color harmonies

Complementary — #3044DF:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.66:1 Fails
Against black text12.63:1 AAA

Best text color on #DFCA31: #000000.

Semi-transparent (opacity) text on #DFCA31

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

How #DFCA31 looks with color blindness

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

Protanopia · #D6D656Deuteranopia · #D7D95FTritanopia · #DE737A

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

Lucky Voyage
#CF6B49 · #EAC083 · #D7CA2D · #B2D254
Dreamy Ruby Petal
#F7F1CF · #F2E6A1 · #E6CB38 · #685A0D
Silent Solace
#E1CB3D · #769516 · #45861F · #3CE23E
Wild Ruby Breeze
#F2F0D4 · #D3CD64 · #D2CA32 · #A19B26
Palette 0d0b61
#0D0B61 · #294669 · #478B8D · #E4D329
Velvet Ruby Zephyr
#A2581F · #D5C828 · #B3E46F · #B2EFAC

Similar colors

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

#D7CA2D#E6CB38#E1CB3D#D2CA32#E4D329#D5C828#EDC92C#E4D03E#D0CD2D#DFBC29#D8BD2A#D3C526

Browse neighbouring colors

← #DFCA30  ·  #DFCA32 →

Frequently asked questions

What color is #DFCA31?

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

What is the RGB and HSL of #DFCA31?

#DFCA31 is RGB 223, 202, 49 — HSL 53°, 73%, 53% — CMYK 0%, 9%, 78%, 13%.

What colors go with #DFCA31?

Its complement is #3044DF; analogous partners are #DF7330 and #9CDF30. It also appears in 6+ palettes in our collection.

Can I use #DFCA31 for text?

Black text on #DFCA31 has a contrast ratio of 12.63:1 (passes WCAG AA); white text gives 1.66:1.