Skip to content

#e2df6f

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

RGB
226, 223, 111
HSL
58°, 67%, 66%
CMYK
0, 1, 51, 11
Luminance
0.7009

Every format

HEX#e2df6f
RGBrgb(226, 223, 111)
HSLhsl(58, 67%, 66%)
CMYKcmyk(0%, 1%, 51%, 11%)
LABlab(87.0 -13.8 54.6)
LCHlch(87.0 56.3 104.1)
OKLCHoklch(0.883 0.135 107.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red88.6%
Green87.5%
Blue43.5%

CMYK percentages

Cyan0.0%
Magenta1.3%
Yellow50.9%
Key (black)11.4%

Color previews

#e2df6f text on a black background

contrast 15.02:1

Card sample

#e2df6f text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2df6f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2df6f in the Color Lab