Skip to content

#dfda6c

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

RGB
223, 218, 108
HSL
57°, 64%, 65%
CMYK
0, 2, 52, 13
Luminance
0.6691

Every format

HEX#dfda6c
RGBrgb(223, 218, 108)
HSLhsl(57, 64%, 65%)
CMYKcmyk(0%, 2%, 52%, 13%)
LABlab(85.5 -12.7 54.1)
LCHlch(85.5 55.5 103.2)
OKLCHoklch(0.870 0.133 106.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green85.5%
Blue42.4%

CMYK percentages

Cyan0.0%
Magenta2.2%
Yellow51.6%
Key (black)12.5%

Color previews

#dfda6c text on a black background

contrast 14.38:1

Card sample

#dfda6c text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 218, 108, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 218, 108, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfda6c;
background: linear-gradient(135deg, #dfda6c, #97DF6C);

Monochromatic scale

Palettes built from #dfda6c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfda6c in the Color Lab