Skip to content

#dfd8b8

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

RGB
223, 216, 184
HSL
49°, 38%, 80%
CMYK
0, 3, 18, 13
Luminance
0.6826

Every format

HEX#dfd8b8
RGBrgb(223, 216, 184)
HSLhsl(49, 38%, 80%)
CMYKcmyk(0%, 3%, 18%, 13%)
LABlab(86.1 -2.8 16.7)
LCHlch(86.1 16.9 99.6)
OKLCHoklch(0.879 0.043 97.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green84.7%
Blue72.2%

CMYK percentages

Cyan0.0%
Magenta3.1%
Yellow17.5%
Key (black)12.5%

Color previews

#dfd8b8 text on a black background

contrast 14.65:1

Card sample

#dfd8b8 text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd8b8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd8b8 in the Color Lab