Skip to content

#dcdf8f

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

RGB
220, 223, 143
HSL
62°, 56%, 72%
CMYK
1, 0, 36, 13
Luminance
0.6997

Every format

HEX#dcdf8f
RGBrgb(220, 223, 143)
HSLhsl(62, 56%, 72%)
CMYKcmyk(1%, 0%, 36%, 13%)
LABlab(87.0 -12.9 38.9)
LCHlch(87.0 41.0 108.4)
OKLCHoklch(0.883 0.102 110.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.3%
Green87.5%
Blue56.1%

CMYK percentages

Cyan1.3%
Magenta0.0%
Yellow35.9%
Key (black)12.5%

Color previews

#dcdf8f text on a black background

contrast 14.99:1

Card sample

#dcdf8f text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcdf8f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcdf8f in the Color Lab