Skip to content

#dfd8bf

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

RGB
223, 216, 191
HSL
47°, 33%, 81%
CMYK
0, 3, 14, 13
Luminance
0.6856

Every format

HEX#dfd8bf
RGBrgb(223, 216, 191)
HSLhsl(47, 33%, 81%)
CMYKcmyk(0%, 3%, 14%, 13%)
LABlab(86.3 -1.8 13.2)
LCHlch(86.3 13.3 97.6)
OKLCHoklch(0.881 0.034 94.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd8bf on white: 1.43:1
AA ✗ fail · AA-large · AAA
Aa
#dfd8bf on black: 14.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green84.7%
Blue74.9%

CMYK percentages

Cyan0.0%
Magenta3.1%
Yellow14.3%
Key (black)12.5%

Color previews

#dfd8bf text on a black background

contrast 14.71:1

Card sample

#dfd8bf text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd8bf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd8bf in the Color Lab