Skip to content

#dcdf9f

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

RGB
220, 223, 159
HSL
63°, 50%, 75%
CMYK
1, 0, 29, 13
Luminance
0.7049

Every format

HEX#dcdf9f
RGBrgb(220, 223, 159)
HSLhsl(63, 50%, 75%)
CMYKcmyk(1%, 0%, 29%, 13%)
LABlab(87.2 -11.0 31.1)
LCHlch(87.2 33.0 109.5)
OKLCHoklch(0.886 0.083 110.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcdf9f on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#dcdf9f on black: 15.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green87.5%
Blue62.4%

CMYK percentages

Cyan1.3%
Magenta0.0%
Yellow28.7%
Key (black)12.5%

Color previews

#dcdf9f text on a black background

contrast 15.10:1

Card sample

#dcdf9f text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcdf9f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcdf9f in the Color Lab