Skip to content

#e2db7e

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

RGB
226, 219, 126
HSL
56°, 63%, 69%
CMYK
0, 3, 44, 11
Luminance
0.6834

Every format

HEX#e2db7e
RGBrgb(226, 219, 126)
HSLhsl(56, 63%, 69%)
CMYKcmyk(0%, 3%, 44%, 11%)
LABlab(86.2 -10.4 46.4)
LCHlch(86.2 47.5 102.6)
OKLCHoklch(0.877 0.115 104.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2db7e on white: 1.43:1
AA ✗ fail · AA-large · AAA
Aa
#e2db7e on black: 14.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green85.9%
Blue49.4%

CMYK percentages

Cyan0.0%
Magenta3.1%
Yellow44.2%
Key (black)11.4%

Color previews

#e2db7e text on a black background

contrast 14.67:1

Card sample

#e2db7e text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2db7e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2db7e in the Color Lab