Skip to content

#e2eb5f

a balanced, electric yellow · cool · closest name: khaki

RGB
226, 235, 95
HSL
64°, 78%, 65%
CMYK
4, 0, 60, 8
Luminance
0.7641

Every format

HEX#e2eb5f
RGBrgb(226, 235, 95)
HSLhsl(64, 78%, 65%)
CMYKcmyk(4%, 0%, 60%, 8%)
LABlab(90.0 -20.8 65.0)
LCHlch(90.0 68.3 107.8)
OKLCHoklch(0.907 0.162 112.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2eb5f on white: 1.29:1
AA ✗ fail · AA-large · AAA
Aa
#e2eb5f on black: 16.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green92.2%
Blue37.3%

CMYK percentages

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

Color previews

#e2eb5f text on a black background

contrast 16.28:1

Card sample

#e2eb5f text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2eb5f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2eb5f in the Color Lab