Skip to content

#d4dfb1

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

RGB
212, 223, 177
HSL
74°, 42%, 78%
CMYK
5, 0, 21, 13
Luminance
0.6995

Every format

HEX#d4dfb1
RGBrgb(212, 223, 177)
HSLhsl(74, 42%, 78%)
CMYKcmyk(5%, 0%, 21%, 13%)
LABlab(87.0 -11.4 21.4)
LCHlch(87.0 24.2 118.2)
OKLCHoklch(0.884 0.062 118.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d4dfb1 on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#d4dfb1 on black: 14.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.1%
Green87.5%
Blue69.4%

CMYK percentages

Cyan4.9%
Magenta0.0%
Yellow20.6%
Key (black)12.5%

Color previews

#d4dfb1 text on a black background

contrast 14.99:1

Card sample

#d4dfb1 text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d4dfb1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4dfb1 in the Color Lab