Skip to content

#d9da9d

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

RGB
217, 218, 157
HSL
61°, 45%, 74%
CMYK
1, 0, 28, 15
Luminance
0.6733

Every format

HEX#d9da9d
RGBrgb(217, 218, 157)
HSLhsl(61, 45%, 74%)
CMYKcmyk(1%, 0%, 28%, 15%)
LABlab(85.7 -9.9 30.0)
LCHlch(85.7 31.6 108.2)
OKLCHoklch(0.873 0.079 108.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d9da9d on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#d9da9d on black: 14.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.1%
Green85.5%
Blue61.6%

CMYK percentages

Cyan0.5%
Magenta0.0%
Yellow28.0%
Key (black)14.5%

Color previews

#d9da9d text on a black background

contrast 14.47:1

Card sample

#d9da9d text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(217, 218, 157, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(217, 218, 157, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d9da9d;
background: linear-gradient(135deg, #d9da9d, #B0DA9D);

Monochromatic scale

Palettes built from #d9da9d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d9da9d in the Color Lab