Skip to content

#e7dfba

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

RGB
231, 223, 186
HSL
49°, 48%, 82%
CMYK
0, 4, 20, 9
Luminance
0.7331

Every format

HEX#e7dfba
RGBrgb(231, 223, 186)
HSLhsl(49, 48%, 82%)
CMYKcmyk(0%, 4%, 20%, 9%)
LABlab(88.6 -3.2 19.1)
LCHlch(88.6 19.4 99.5)
OKLCHoklch(0.901 0.050 97.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e7dfba on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#e7dfba on black: 15.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red90.6%
Green87.5%
Blue72.9%

CMYK percentages

Cyan0.0%
Magenta3.5%
Yellow19.5%
Key (black)9.4%

Color previews

#e7dfba text on a black background

contrast 15.66:1

Card sample

#e7dfba text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e7dfba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e7dfba in the Color Lab