Skip to content

#d2da8f

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

RGB
210, 218, 143
HSL
66°, 50%, 71%
CMYK
4, 0, 34, 15
Luminance
0.6583

Every format

HEX#d2da8f
RGBrgb(210, 218, 143)
HSLhsl(66, 50%, 71%)
CMYKcmyk(4%, 0%, 34%, 15%)
LABlab(84.9 -14.3 36.1)
LCHlch(84.9 38.8 111.6)
OKLCHoklch(0.865 0.097 113.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2da8f on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#d2da8f on black: 14.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green85.5%
Blue56.1%

CMYK percentages

Cyan3.7%
Magenta0.0%
Yellow34.4%
Key (black)14.5%

Color previews

#d2da8f text on a black background

contrast 14.17:1

Card sample

#d2da8f text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2da8f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2da8f in the Color Lab