Skip to content

#dfe2af

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

RGB
223, 226, 175
HSL
64°, 47%, 79%
CMYK
1, 0, 23, 11
Luminance
0.7318

Every format

HEX#dfe2af
RGBrgb(223, 226, 175)
HSLhsl(64, 47%, 79%)
CMYKcmyk(1%, 0%, 23%, 11%)
LABlab(88.5 -9.2 24.7)
LCHlch(88.5 26.3 110.5)
OKLCHoklch(0.898 0.067 110.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfe2af on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#dfe2af on black: 15.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green88.6%
Blue68.6%

CMYK percentages

Cyan1.3%
Magenta0.0%
Yellow22.6%
Key (black)11.4%

Color previews

#dfe2af text on a black background

contrast 15.64:1

Card sample

#dfe2af text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfe2af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfe2af in the Color Lab