Skip to content

#dfdb62

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

RGB
223, 219, 98
HSL
58°, 66%, 63%
CMYK
0, 2, 56, 13
Luminance
0.6723

Every format

HEX#dfdb62
RGBrgb(223, 219, 98)
HSLhsl(58, 66%, 63%)
CMYKcmyk(0%, 2%, 56%, 13%)
LABlab(85.6 -14.0 58.8)
LCHlch(85.6 60.4 103.4)
OKLCHoklch(0.871 0.143 107.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfdb62 on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#dfdb62 on black: 14.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green85.9%
Blue38.4%

CMYK percentages

Cyan0.0%
Magenta1.8%
Yellow56.1%
Key (black)12.5%

Color previews

#dfdb62 text on a black background

contrast 14.45:1

Card sample

#dfdb62 text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdb62

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdb62 in the Color Lab