Maroon Colors  ·  Color Library

Palettes / Colors / #DFBF31

#DFBF31 — Yellow

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

#DFBF31 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 #3050DF; it also sits naturally between #DF6730 and #A7DF30. In the palettes below you can see it working alongside real color combinations from our collection.

#DFBF31 · RGB 223, 191, 49

Download PNG swatch SVG

Color values

HEX#DFBF31
RGB223, 191, 49
HSL49°, 73%, 53%
HSV49°, 78%, 87%
CMYK0%, 14%, 78%, 13%
XYZ49.62, 53.17, 10.55
Yxy53.17, 0.4378, 0.4691
CIE-Lab77.98, -2.48, 70.16
Hunter Lab72.92, -2.29, 39.97

RGB & CMYK percentages

Red 87% · Green 75% · Blue 19%

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

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

Previews

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

CSS code for #DFBF31

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

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

Shades of #DFBF31

#D4B321#BEA01E#A88E1A#927B17#806C14#6A5911#54470D#3E340A#282206#120F03

Tints of #DFBF31

#E1C441#E5CB57#E8D069#EAD67B#EEDD91#F1E2A2#F3E8B4#F6EDC6#F9F4DC#FCFAED

Tones of #DFBF31

#D3B73C#C5AF49#B9A755#AC9F62#A0976E#938F7B

Color harmonies

Complementary — #3050DF:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.81:1 Fails
Against black text11.63:1 AAA

Best text color on #DFBF31: #000000.

Semi-transparent (opacity) text on #DFBF31

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

How #DFBF31 looks with color blindness

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

Protanopia · #D1D153Deuteranopia · #D3D55CTritanopia · #DD6E74

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 · #CDDC39Tailwind yellow 500 · #EAB308Material Amber 500 · #FFC107

Palettes with a similar color

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

Electric Opal
#E88EB4 · #E26749 · #DFBC29 · #C4F086
Electric Ruby Aurora
#D8BD2A · #95AC2A · #549318 · #63D44E
Wild Voyage
#C68A18 · #E7B737 · #5387EA · #B2C0F1
Lucky Voyage
#CF6B49 · #EAC083 · #D7CA2D · #B2D254
Dreamy Ruby Petal
#F7F1CF · #F2E6A1 · #E6CB38 · #685A0D
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:

#DFBC29#D8BD2A#E7B737#D7CA2D#E6CB38#D5C828#E9B63B#DEBA41#D2CA32#E1CB3D#D3C526#EDC23B

Browse neighbouring colors

← #DFBF30  ·  #DFBF32 →

Frequently asked questions

What color is #DFBF31?

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

What is the RGB and HSL of #DFBF31?

#DFBF31 is RGB 223, 191, 49 — HSL 49°, 73%, 53% — CMYK 0%, 14%, 78%, 13%.

What colors go with #DFBF31?

Its complement is #3050DF; analogous partners are #DF6730 and #A7DF30. It also appears in 6+ palettes in our collection.

Can I use #DFBF31 for text?

Black text on #DFBF31 has a contrast ratio of 11.63:1 (passes WCAG AA); white text gives 1.81:1.