Skip to content

#e5df5f

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

RGB
229, 223, 95
HSL
57°, 72%, 64%
CMYK
0, 3, 59, 10
Luminance
0.7026

Every format

HEX#e5df5f
RGBrgb(229, 223, 95)
HSLhsl(57, 72%, 64%)
CMYKcmyk(0%, 3%, 59%, 10%)
LABlab(87.1 -13.8 61.9)
LCHlch(87.1 63.4 102.5)
OKLCHoklch(0.884 0.148 106.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e5df5f on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#e5df5f on black: 15.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red89.8%
Green87.5%
Blue37.3%

CMYK percentages

Cyan0.0%
Magenta2.6%
Yellow58.5%
Key (black)10.2%

Color previews

#e5df5f text on a black background

contrast 15.05:1

Card sample

#e5df5f text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e5df5f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e5df5f in the Color Lab