Skip to content

#dfd9ba

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

RGB
223, 217, 186
HSL
50°, 37%, 80%
CMYK
0, 3, 17, 13
Luminance
0.6886

Every format

HEX#dfd9ba
RGBrgb(223, 217, 186)
HSLhsl(50, 37%, 80%)
CMYKcmyk(0%, 3%, 17%, 13%)
LABlab(86.4 -3.0 16.0)
LCHlch(86.4 16.3 100.7)
OKLCHoklch(0.882 0.042 98.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green85.1%
Blue72.9%

CMYK percentages

Cyan0.0%
Magenta2.7%
Yellow16.6%
Key (black)12.5%

Color previews

#dfd9ba text on a black background

contrast 14.77:1

Card sample

#dfd9ba text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd9ba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd9ba in the Color Lab