Skip to content

#e2eb7f

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

RGB
226, 235, 127
HSL
65°, 73%, 71%
CMYK
4, 0, 46, 8
Luminance
0.7712

Every format

HEX#e2eb7f
RGBrgb(226, 235, 127)
HSLhsl(65, 73%, 71%)
CMYKcmyk(4%, 0%, 46%, 8%)
LABlab(90.4 -18.2 51.1)
LCHlch(90.4 54.2 109.6)
OKLCHoklch(0.911 0.133 112.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2eb7f on white: 1.28:1
AA ✗ fail · AA-large · AAA
Aa
#e2eb7f on black: 16.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green92.2%
Blue49.8%

CMYK percentages

Cyan3.8%
Magenta0.0%
Yellow46.0%
Key (black)7.8%

Color previews

#e2eb7f text on a black background

contrast 16.42:1

Card sample

#e2eb7f text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2eb7f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2eb7f in the Color Lab