Skip to content

#d8dfb3

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

RGB
216, 223, 179
HSL
70°, 41%, 79%
CMYK
3, 0, 20, 13
Luminance
0.7063

Every format

HEX#d8dfb3
RGBrgb(216, 223, 179)
HSLhsl(70, 41%, 79%)
CMYKcmyk(3%, 0%, 20%, 13%)
LABlab(87.3 -9.7 20.8)
LCHlch(87.3 23.0 115.0)
OKLCHoklch(0.887 0.059 115.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red84.7%
Green87.5%
Blue70.2%

CMYK percentages

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

Color previews

#d8dfb3 text on a black background

contrast 15.13:1

Card sample

#d8dfb3 text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d8dfb3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d8dfb3 in the Color Lab