Skip to content

#e2df7d

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

RGB
226, 223, 125
HSL
58°, 64%, 69%
CMYK
0, 1, 45, 11
Luminance
0.7042

Every format

HEX#e2df7d
RGBrgb(226, 223, 125)
HSLhsl(58, 64%, 69%)
CMYKcmyk(0%, 1%, 45%, 11%)
LABlab(87.2 -12.5 48.1)
LCHlch(87.2 49.7 104.5)
OKLCHoklch(0.885 0.121 107.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2df7d on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#e2df7d on black: 15.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green87.5%
Blue49.0%

CMYK percentages

Cyan0.0%
Magenta1.3%
Yellow44.7%
Key (black)11.4%

Color previews

#e2df7d text on a black background

contrast 15.08:1

Card sample

#e2df7d text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2df7d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2df7d in the Color Lab