Skip to content

#dcdfab

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

RGB
220, 223, 171
HSL
64°, 45%, 77%
CMYK
1, 0, 23, 13
Luminance
0.7093

Every format

HEX#dcdfab
RGBrgb(220, 223, 171)
HSLhsl(64, 45%, 77%)
CMYKcmyk(1%, 0%, 23%, 13%)
LABlab(87.5 -9.4 25.2)
LCHlch(87.5 26.9 110.4)
OKLCHoklch(0.888 0.068 110.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.3%
Green87.5%
Blue67.1%

CMYK percentages

Cyan1.3%
Magenta0.0%
Yellow23.3%
Key (black)12.5%

Color previews

#dcdfab text on a black background

contrast 15.19:1

Card sample

#dcdfab text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcdfab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcdfab in the Color Lab