Skip to content

#d8dfb4

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

RGB
216, 223, 180
HSL
70°, 40%, 79%
CMYK
3, 0, 19, 13
Luminance
0.7067

Every format

HEX#d8dfb4
RGBrgb(216, 223, 180)
HSLhsl(70, 40%, 79%)
CMYKcmyk(3%, 0%, 19%, 13%)
LABlab(87.3 -9.5 20.3)
LCHlch(87.3 22.5 115.1)
OKLCHoklch(0.887 0.057 115.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d8dfb4 on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#d8dfb4 on black: 15.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red84.7%
Green87.5%
Blue70.6%

CMYK percentages

Cyan3.1%
Magenta0.0%
Yellow19.3%
Key (black)12.5%

Color previews

#d8dfb4 text on a black background

contrast 15.13:1

Card sample

#d8dfb4 text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d8dfb4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d8dfb4 in the Color Lab