Skip to content

#e2dfba

a light, soft yellow · cool · closest name: beige

RGB
226, 223, 186
HSL
56°, 41%, 81%
CMYK
0, 1, 18, 11
Luminance
0.7249

Every format

HEX#e2dfba
RGBrgb(226, 223, 186)
HSLhsl(56, 41%, 81%)
CMYKcmyk(0%, 1%, 18%, 11%)
LABlab(88.2 -5.0 18.5)
LCHlch(88.2 19.2 105.2)
OKLCHoklch(0.896 0.049 103.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red88.6%
Green87.5%
Blue72.9%

CMYK percentages

Cyan0.0%
Magenta1.3%
Yellow17.7%
Key (black)11.4%

Color previews

#e2dfba text on a black background

contrast 15.50:1

Card sample

#e2dfba text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2dfba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2dfba in the Color Lab