Skip to content

#dfdda2

a light, vivid yellow · cool · closest name: khaki

RGB
223, 221, 162
HSL
58°, 49%, 76%
CMYK
0, 1, 27, 13
Luminance
0.7001

Every format

HEX#dfdda2
RGBrgb(223, 221, 162)
HSLhsl(58, 49%, 76%)
CMYKcmyk(0%, 1%, 27%, 13%)
LABlab(87.0 -8.5 29.3)
LCHlch(87.0 30.5 106.1)
OKLCHoklch(0.885 0.077 106.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfdda2 on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#dfdda2 on black: 15.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green86.7%
Blue63.5%

CMYK percentages

Cyan0.0%
Magenta0.9%
Yellow27.4%
Key (black)12.5%

Color previews

#dfdda2 text on a black background

contrast 15.00:1

Card sample

#dfdda2 text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdda2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdda2 in the Color Lab