Skip to content

#dfdfb8

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

RGB
223, 223, 184
HSL
60°, 38%, 80%
CMYK
0, 0, 18, 13
Luminance
0.7192

Every format

HEX#dfdfb8
RGBrgb(223, 223, 184)
HSLhsl(60, 38%, 80%)
CMYKcmyk(0%, 0%, 18%, 13%)
LABlab(87.9 -6.4 19.2)
LCHlch(87.9 20.2 108.5)
OKLCHoklch(0.894 0.051 107.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfdfb8 on white: 1.36:1
AA ✗ fail · AA-large · AAA
Aa
#dfdfb8 on black: 15.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green87.5%
Blue72.2%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow17.5%
Key (black)12.5%

Color previews

#dfdfb8 text on a black background

contrast 15.38:1

Card sample

#dfdfb8 text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdfb8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdfb8 in the Color Lab