Skip to content

#dfdb8c

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

RGB
223, 219, 140
HSL
57°, 57%, 71%
CMYK
0, 2, 37, 13
Luminance
0.6824

Every format

HEX#dfdb8c
RGBrgb(223, 219, 140)
HSLhsl(57, 57%, 71%)
CMYKcmyk(0%, 2%, 37%, 13%)
LABlab(86.1 -10.1 39.4)
LCHlch(86.1 40.6 104.4)
OKLCHoklch(0.877 0.100 105.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfdb8c on white: 1.43:1
AA ✗ fail · AA-large · AAA
Aa
#dfdb8c on black: 14.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green85.9%
Blue54.9%

CMYK percentages

Cyan0.0%
Magenta1.8%
Yellow37.2%
Key (black)12.5%

Color previews

#dfdb8c text on a black background

contrast 14.65:1

Card sample

#dfdb8c text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdb8c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdb8c in the Color Lab