Skip to content

#dfdfb2

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

RGB
223, 223, 178
HSL
60°, 41%, 79%
CMYK
0, 0, 20, 13
Luminance
0.7168

Every format

HEX#dfdfb2
RGBrgb(223, 223, 178)
HSLhsl(60, 41%, 79%)
CMYKcmyk(0%, 0%, 20%, 13%)
LABlab(87.8 -7.3 22.1)
LCHlch(87.8 23.3 108.2)
OKLCHoklch(0.892 0.059 107.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green87.5%
Blue69.8%

CMYK percentages

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

Color previews

#dfdfb2 text on a black background

contrast 15.34:1

Card sample

#dfdfb2 text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdfb2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdfb2 in the Color Lab