Skip to content

#e2df5b

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

RGB
226, 223, 91
HSL
59°, 70%, 62%
CMYK
0, 1, 60, 11
Luminance
0.6970

Every format

HEX#e2df5b
RGBrgb(226, 223, 91)
HSLhsl(59, 70%, 62%)
CMYKcmyk(0%, 1%, 60%, 11%)
LABlab(86.8 -15.3 63.3)
LCHlch(86.8 65.1 103.6)
OKLCHoklch(0.881 0.152 107.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2df5b on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#e2df5b on black: 14.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green87.5%
Blue35.7%

CMYK percentages

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

Color previews

#e2df5b text on a black background

contrast 14.94:1

Card sample

#e2df5b text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2df5b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2df5b in the Color Lab