Skip to content

#e2db8d

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

RGB
226, 219, 141
HSL
55°, 59%, 72%
CMYK
0, 3, 38, 11
Luminance
0.6875

Every format

HEX#e2db8d
RGBrgb(226, 219, 141)
HSLhsl(55, 59%, 72%)
CMYKcmyk(0%, 3%, 38%, 11%)
LABlab(86.4 -8.8 39.2)
LCHlch(86.4 40.2 102.7)
OKLCHoklch(0.879 0.099 103.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2db8d on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#e2db8d on black: 14.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green85.9%
Blue55.3%

CMYK percentages

Cyan0.0%
Magenta3.1%
Yellow37.6%
Key (black)11.4%

Color previews

#e2db8d text on a black background

contrast 14.75:1

Card sample

#e2db8d text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2db8d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2db8d in the Color Lab