Skip to content

#dfcc29

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

RGB
223, 204, 41
HSL
54°, 74%, 52%
CMYK
0, 9, 82, 13
Luminance
0.5903

Every format

HEX#dfcc29
RGBrgb(223, 204, 41)
HSLhsl(54, 74%, 52%)
CMYKcmyk(0%, 9%, 82%, 13%)
LABlab(81.3 -9.4 75.4)
LCHlch(81.3 76.0 97.1)
OKLCHoklch(0.836 0.166 102.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfcc29 on white: 1.64:1
AA ✗ fail · AA-large · AAA
Aa
#dfcc29 on black: 12.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green80.0%
Blue16.1%

CMYK percentages

Cyan0.0%
Magenta8.5%
Yellow81.6%
Key (black)12.5%

Color previews

#dfcc29 text on a black background

contrast 12.81:1

Card sample

#dfcc29 text on a white background

contrast 1.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfcc29

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfcc29 in the Color Lab