Skip to content

#dfd892

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

RGB
223, 216, 146
HSL
55°, 55%, 72%
CMYK
0, 3, 35, 13
Luminance
0.6688

Every format

HEX#dfd892
RGBrgb(223, 216, 146)
HSLhsl(55, 55%, 72%)
CMYKcmyk(0%, 3%, 35%, 13%)
LABlab(85.4 -7.9 35.4)
LCHlch(85.4 36.3 102.6)
OKLCHoklch(0.872 0.090 103.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd892 on white: 1.46:1
AA ✗ fail · AA-large · AAA
Aa
#dfd892 on black: 14.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green84.7%
Blue57.3%

CMYK percentages

Cyan0.0%
Magenta3.1%
Yellow34.5%
Key (black)12.5%

Color previews

#dfd892 text on a black background

contrast 14.38:1

Card sample

#dfd892 text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd892

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd892 in the Color Lab