Skip to content

#dfbc29

a balanced, vivid yellow · cool · closest name: gold

RGB
223, 188, 41
HSL
49°, 74%, 52%
CMYK
0, 16, 82, 13
Luminance
0.5181

Every format

HEX#dfbc29
RGBrgb(223, 188, 41)
HSLhsl(49, 74%, 52%)
CMYKcmyk(0%, 16%, 82%, 13%)
LABlab(77.2 -1.2 71.8)
LCHlch(77.2 71.9 90.9)
OKLCHoklch(0.803 0.155 94.3)

Copy-ready code

/* CSS */
color: #dfbc29;
background-color: #dfbc29;
/* Tailwind (arbitrary) */
class="text-[#dfbc29] bg-[#dfbc29]"
/* SCSS */
$brand: #dfbc29;
/* SwiftUI */
Color(red: 0.875, green: 0.737, blue: 0.161)
/* Android */
Color.parseColor("#dfbc29")

Accessibility — WCAG contrast

Aa
#dfbc29 on white: 1.85:1
AA ✗ fail · AA-large · AAA
Aa
#dfbc29 on black: 11.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green73.7%
Blue16.1%

CMYK percentages

Cyan0.0%
Magenta15.7%
Yellow81.6%
Key (black)12.5%

Color previews

#dfbc29 text on a black background

contrast 11.36:1

Card sample

#dfbc29 text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #dfbc29;
Background color
Panel with #dfbc29 background
background-color: #dfbc29;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #dfbc29;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(223, 188, 41, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 188, 41, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfbc29;
background: linear-gradient(135deg, #dfbc29, #89DF29);

Monochromatic scale

Palettes built from #dfbc29

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfbc29 in the Color Lab