Skip to content

#dfdb4d

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

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

Every format

HEX#dfdb4d
RGBrgb(223, 219, 77)
HSLhsl(58, 70%, 59%)
CMYKcmyk(0%, 2%, 66%, 13%)
LABlab(85.5 -15.4 67.4)
LCHlch(85.5 69.1 102.8)
OKLCHoklch(0.869 0.159 107.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green85.9%
Blue30.2%

CMYK percentages

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

Color previews

#dfdb4d text on a black background

contrast 14.38:1

Card sample

#dfdb4d text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdb4d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdb4d in the Color Lab