Skip to content

#e2db5f

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

RGB
226, 219, 95
HSL
57°, 69%, 63%
CMYK
0, 3, 58, 11
Luminance
0.6766

Every format

HEX#e2db5f
RGBrgb(226, 219, 95)
HSLhsl(57, 69%, 63%)
CMYKcmyk(0%, 3%, 58%, 11%)
LABlab(85.8 -13.0 60.4)
LCHlch(85.8 61.8 102.1)
OKLCHoklch(0.873 0.145 106.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2db5f on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#e2db5f on black: 14.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green85.9%
Blue37.3%

CMYK percentages

Cyan0.0%
Magenta3.1%
Yellow58.0%
Key (black)11.4%

Color previews

#e2db5f text on a black background

contrast 14.53:1

Card sample

#e2db5f text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2db5f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2db5f in the Color Lab