Skip to content

#e7df9b

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

RGB
231, 223, 155
HSL
54°, 61%, 76%
CMYK
0, 4, 33, 9
Luminance
0.7213

Every format

HEX#e7df9b
RGBrgb(231, 223, 155)
HSLhsl(54, 61%, 76%)
CMYKcmyk(0%, 4%, 33%, 9%)
LABlab(88.0 -7.3 34.4)
LCHlch(88.0 35.1 102.0)
OKLCHoklch(0.894 0.087 102.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e7df9b on white: 1.36:1
AA ✗ fail · AA-large · AAA
Aa
#e7df9b on black: 15.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red90.6%
Green87.5%
Blue60.8%

CMYK percentages

Cyan0.0%
Magenta3.5%
Yellow32.9%
Key (black)9.4%

Color previews

#e7df9b text on a black background

contrast 15.43:1

Card sample

#e7df9b text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e7df9b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e7df9b in the Color Lab