Skip to content

#e5df9f

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

RGB
229, 223, 159
HSL
55°, 57%, 76%
CMYK
0, 3, 31, 10
Luminance
0.7194

Every format

HEX#e5df9f
RGBrgb(229, 223, 159)
HSLhsl(55, 57%, 76%)
CMYKcmyk(0%, 3%, 31%, 10%)
LABlab(87.9 -7.6 32.2)
LCHlch(87.9 33.1 103.3)
OKLCHoklch(0.893 0.083 103.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e5df9f on white: 1.36:1
AA ✗ fail · AA-large · AAA
Aa
#e5df9f on black: 15.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red89.8%
Green87.5%
Blue62.4%

CMYK percentages

Cyan0.0%
Magenta2.6%
Yellow30.6%
Key (black)10.2%

Color previews

#e5df9f text on a black background

contrast 15.39:1

Card sample

#e5df9f text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e5df9f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e5df9f in the Color Lab