Skip to content

#dfdb49

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

RGB
223, 219, 73
HSL
58°, 70%, 58%
CMYK
0, 2, 67, 13
Luminance
0.6683

Every format

HEX#dfdb49
RGBrgb(223, 219, 73)
HSLhsl(58, 70%, 58%)
CMYKcmyk(0%, 2%, 67%, 13%)
LABlab(85.4 -15.6 68.9)
LCHlch(85.4 70.6 102.8)
OKLCHoklch(0.869 0.162 107.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green85.9%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta1.8%
Yellow67.3%
Key (black)12.5%

Color previews

#dfdb49 text on a black background

contrast 14.37:1

Card sample

#dfdb49 text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdb49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdb49 in the Color Lab