Skip to content

#dfdb4c

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

RGB
223, 219, 76
HSL
58°, 70%, 59%
CMYK
0, 2, 66, 13
Luminance
0.6687

Every format

HEX#dfdb4c
RGBrgb(223, 219, 76)
HSLhsl(58, 70%, 59%)
CMYKcmyk(0%, 2%, 66%, 13%)
LABlab(85.4 -15.4 67.8)
LCHlch(85.4 69.5 102.8)
OKLCHoklch(0.869 0.160 107.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfdb4c on white: 1.46:1
AA ✗ fail · AA-large · AAA
Aa
#dfdb4c on black: 14.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green85.9%
Blue29.8%

CMYK percentages

Cyan0.0%
Magenta1.8%
Yellow65.9%
Key (black)12.5%

Color previews

#dfdb4c text on a black background

contrast 14.37:1

Card sample

#dfdb4c text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 219, 76, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 219, 76, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfdb4c;
background: linear-gradient(135deg, #dfdb4c, #81DF4C);

Monochromatic scale

Palettes built from #dfdb4c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdb4c in the Color Lab