Skip to content

#e2eb9c

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

RGB
226, 235, 156
HSL
67°, 66%, 77%
CMYK
4, 0, 34, 8
Luminance
0.7799

Every format

HEX#e2eb9c
RGBrgb(226, 235, 156)
HSLhsl(67, 66%, 77%)
CMYKcmyk(4%, 0%, 34%, 8%)
LABlab(90.8 -15.1 37.4)
LCHlch(90.8 40.3 112.0)
OKLCHoklch(0.915 0.101 113.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#e2eb9c text on a black background

contrast 16.60:1

Card sample

#e2eb9c text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2eb9c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2eb9c in the Color Lab