Maroon Colors  ·  Color Library

Palettes / Colors / #DFBF02

#DFBF02 — Vivid Yellow

#DFBF02 is a yellow color we call Vivid 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 #DFBF02 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.

#DFBF02 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 #0223DE; it also sits naturally between #DE4F02 and #91DE02. In the palettes below you can see it working alongside real color combinations from our collection.

#DFBF02 · RGB 223, 191, 2

Download PNG swatch SVG

Color values

HEX#DFBF02
RGB223, 191, 2
HSL51°, 98%, 44%
HSV51°, 99%, 87%
CMYK0%, 14%, 99%, 13%
XYZ49.07, 52.95, 7.69
Yxy52.95, 0.4473, 0.4826
CIE-Lab77.85, -3.40, 79.13
Hunter Lab72.77, -3.13, 42.28

RGB & CMYK percentages

Red 87% · Green 75% · Blue 1%

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

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

Previews

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

CSS code for #DFBF02

.text { color: #DFBF02; }
.background { background-color: #DFBF02; }
.border { border: 3px solid #DFBF02; }
.text-rgb { color: rgb(223, 191, 2); }
.text-hsl { color: hsl(51, 98%, 44%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #DFBF02; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(223, 191, 2, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #DFBF02; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(223, 191, 2, 0.8); }

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

Shades of #DFBF02

#CAAC02#B69B02#A28A02#8D7801#796701#655601#514501#3D3401#282200#141100

Tints of #DFBF02

#F7D302#FDDA17#FDDF35#FDE34E#FDE768#FEEB81#FEEF9A#FEF4B8#FFF8D2#FFFCEB

Tones of #DFBF02

#CEB212#BFA722#AF9C31#9F9141#908651#807B60

Color harmonies

Complementary — #0223DE:

Analogous:

Triadic:

Contrast & accessibility

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

Best text color on #DFBF02: #000000.

Semi-transparent (opacity) text on #DFBF02

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

How #DFBF02 looks with color blindness

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

Protanopia · #D1D130Deuteranopia · #D3D53BTritanopia · #DD545C

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

Palette 8e1d41
#8E1D41 · #DBBF0D · #FFCD19 · #FFEFB4
Smoky Monsoon
#152BC9 · #3534EA · #E1C817 · #F4F4C0
Palette 25671e
#25671E · #48A111 · #F2B50B · #F7F0F0
Smoky Terrace
#C72E07 · #D7B013 · #F3DC66 · #EBE5AE
Honey Ruby
#F9E6A8 · #F2A900 · #CC6F00 · #4D2A00
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:

#DBBF0D#E1C817#F2B50B#D7B013#F2A900#E3CA1D#E7AD18#F9B208#CBC019#CDB519#F0A500#D8C81F

Browse neighbouring colors

← #DFBF01  ·  #DFBF03 →

Frequently asked questions

What color is #DFBF02?

#DFBF02 is Vivid Yellow, a yellow color (RGB 223, 191, 2). Its closest standard named color is GoldenRod.

What is the RGB and HSL of #DFBF02?

#DFBF02 is RGB 223, 191, 2 — HSL 51°, 98%, 44% — CMYK 0%, 14%, 99%, 13%.

What colors go with #DFBF02?

Its complement is #0223DE; analogous partners are #DE4F02 and #91DE02. It also appears in 6+ palettes in our collection.

Can I use #DFBF02 for text?

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