Skip to content

#dfdfb1

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

RGB
223, 223, 177
HSL
60°, 42%, 78%
CMYK
0, 0, 21, 13
Luminance
0.7164

Every format

HEX#dfdfb1
RGBrgb(223, 223, 177)
HSLhsl(60, 42%, 78%)
CMYKcmyk(0%, 0%, 21%, 13%)
LABlab(87.8 -7.4 22.6)
LCHlch(87.8 23.8 108.2)
OKLCHoklch(0.892 0.060 107.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfdfb1 on white: 1.37:1
AA ✗ fail · AA-large · AAA
Aa
#dfdfb1 on black: 15.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green87.5%
Blue69.4%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow20.6%
Key (black)12.5%

Color previews

#dfdfb1 text on a black background

contrast 15.33:1

Card sample

#dfdfb1 text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdfb1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdfb1 in the Color Lab