Skip to content

#e2eb9d

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

RGB
226, 235, 157
HSL
67°, 66%, 77%
CMYK
4, 0, 33, 8
Luminance
0.7802

Every format

HEX#e2eb9d
RGBrgb(226, 235, 157)
HSLhsl(67, 66%, 77%)
CMYKcmyk(4%, 0%, 33%, 8%)
LABlab(90.8 -15.0 36.9)
LCHlch(90.8 39.8 112.1)
OKLCHoklch(0.915 0.100 113.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2eb9d on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#e2eb9d on black: 16.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green92.2%
Blue61.6%

CMYK percentages

Cyan3.8%
Magenta0.0%
Yellow33.2%
Key (black)7.8%

Color previews

#e2eb9d text on a black background

contrast 16.60:1

Card sample

#e2eb9d text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2eb9d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2eb9d in the Color Lab