Skip to content

#dfeb9c

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

RGB
223, 235, 156
HSL
69°, 66%, 77%
CMYK
5, 0, 34, 8
Luminance
0.7750

Every format

HEX#dfeb9c
RGBrgb(223, 235, 156)
HSLhsl(69, 66%, 77%)
CMYKcmyk(5%, 0%, 34%, 8%)
LABlab(90.5 -16.2 37.1)
LCHlch(90.5 40.5 113.6)
OKLCHoklch(0.913 0.102 115.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfeb9c on white: 1.27:1
AA ✗ fail · AA-large · AAA
Aa
#dfeb9c on black: 16.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green92.2%
Blue61.2%

CMYK percentages

Cyan5.1%
Magenta0.0%
Yellow33.6%
Key (black)7.8%

Color previews

#dfeb9c text on a black background

contrast 16.50:1

Card sample

#dfeb9c text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfeb9c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfeb9c in the Color Lab