Skip to content

#dfba29

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

RGB
223, 186, 41
HSL
48°, 74%, 52%
CMYK
0, 17, 82, 13
Luminance
0.5097

Every format

HEX#dfba29
RGBrgb(223, 186, 41)
HSLhsl(48, 74%, 52%)
CMYKcmyk(0%, 17%, 82%, 13%)
LABlab(76.7 -0.1 71.4)
LCHlch(76.7 71.4 90.1)
OKLCHoklch(0.799 0.154 93.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfba29 on white: 1.88:1
AA ✗ fail · AA-large · AAA
Aa
#dfba29 on black: 11.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green72.9%
Blue16.1%

CMYK percentages

Cyan0.0%
Magenta16.6%
Yellow81.6%
Key (black)12.5%

Color previews

#dfba29 text on a black background

contrast 11.19:1

Card sample

#dfba29 text on a white background

contrast 1.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfba29

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfba29 in the Color Lab