Skip to content

#dcdf8d

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

RGB
220, 223, 141
HSL
62°, 56%, 71%
CMYK
1, 0, 37, 13
Luminance
0.6991

Every format

HEX#dcdf8d
RGBrgb(220, 223, 141)
HSLhsl(62, 56%, 71%)
CMYKcmyk(1%, 0%, 37%, 13%)
LABlab(87.0 -13.2 39.9)
LCHlch(87.0 42.0 108.3)
OKLCHoklch(0.883 0.104 110.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcdf8d on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#dcdf8d on black: 14.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green87.5%
Blue55.3%

CMYK percentages

Cyan1.3%
Magenta0.0%
Yellow36.8%
Key (black)12.5%

Color previews

#dcdf8d text on a black background

contrast 14.98:1

Card sample

#dcdf8d text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcdf8d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcdf8d in the Color Lab