Skip to content

#dfd8c2

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

RGB
223, 216, 194
HSL
46°, 31%, 82%
CMYK
0, 3, 13, 13
Luminance
0.6869

Every format

HEX#dfd8c2
RGBrgb(223, 216, 194)
HSLhsl(46, 31%, 82%)
CMYKcmyk(0%, 3%, 13%, 13%)
LABlab(86.3 -1.3 11.7)
LCHlch(86.3 11.8 96.3)
OKLCHoklch(0.882 0.030 92.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd8c2 on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#dfd8c2 on black: 14.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green84.7%
Blue76.1%

CMYK percentages

Cyan0.0%
Magenta3.1%
Yellow13.0%
Key (black)12.5%

Color previews

#dfd8c2 text on a black background

contrast 14.74:1

Card sample

#dfd8c2 text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd8c2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd8c2 in the Color Lab