Skip to content

#dfeb9e

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

RGB
223, 235, 158
HSL
69°, 66%, 77%
CMYK
5, 0, 33, 8
Luminance
0.7757

Every format

HEX#dfeb9e
RGBrgb(223, 235, 158)
HSLhsl(69, 66%, 77%)
CMYKcmyk(5%, 0%, 33%, 8%)
LABlab(90.6 -16.0 36.1)
LCHlch(90.6 39.5 113.9)
OKLCHoklch(0.913 0.099 115.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green92.2%
Blue62.0%

CMYK percentages

Cyan5.1%
Magenta0.0%
Yellow32.8%
Key (black)7.8%

Color previews

#dfeb9e text on a black background

contrast 16.51:1

Card sample

#dfeb9e text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfeb9e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfeb9e in the Color Lab