Skip to content

#dcdfaf

a light, soft yellow · cool · closest name: beige

RGB
220, 223, 175
HSL
64°, 43%, 78%
CMYK
1, 0, 22, 13
Luminance
0.7109

Every format

HEX#dcdfaf
RGBrgb(220, 223, 175)
HSLhsl(64, 43%, 78%)
CMYKcmyk(1%, 0%, 22%, 13%)
LABlab(87.5 -8.8 23.3)
LCHlch(87.5 24.9 110.7)
OKLCHoklch(0.889 0.063 110.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcdfaf on white: 1.38:1
AA ✗ fail · AA-large · AAA
Aa
#dcdfaf on black: 15.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green87.5%
Blue68.6%

CMYK percentages

Cyan1.3%
Magenta0.0%
Yellow21.5%
Key (black)12.5%

Color previews

#dcdfaf text on a black background

contrast 15.22:1

Card sample

#dcdfaf text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcdfaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcdfaf in the Color Lab