Skip to content

#e2df5c

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

RGB
226, 223, 92
HSL
59°, 70%, 62%
CMYK
0, 1, 59, 11
Luminance
0.6972

Every format

HEX#e2df5c
RGBrgb(226, 223, 92)
HSLhsl(59, 70%, 62%)
CMYKcmyk(0%, 1%, 59%, 11%)
LABlab(86.9 -15.2 62.8)
LCHlch(86.9 64.6 103.6)
OKLCHoklch(0.881 0.151 107.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red88.6%
Green87.5%
Blue36.1%

CMYK percentages

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

Color previews

#e2df5c text on a black background

contrast 14.94:1

Card sample

#e2df5c text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2df5c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2df5c in the Color Lab