Skip to content

#dfdb5d

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

RGB
223, 219, 93
HSL
58°, 67%, 62%
CMYK
0, 2, 58, 13
Luminance
0.6714

Every format

HEX#dfdb5d
RGBrgb(223, 219, 93)
HSLhsl(58, 67%, 62%)
CMYKcmyk(0%, 2%, 58%, 13%)
LABlab(85.6 -14.4 60.9)
LCHlch(85.6 62.6 103.3)
OKLCHoklch(0.871 0.147 107.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green85.9%
Blue36.5%

CMYK percentages

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

Color previews

#dfdb5d text on a black background

contrast 14.43:1

Card sample

#dfdb5d text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdb5d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdb5d in the Color Lab