Skip to content

#d2ce8f

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

RGB
210, 206, 143
HSL
56°, 43%, 69%
CMYK
0, 2, 32, 18
Luminance
0.5983

Every format

HEX#d2ce8f
RGBrgb(210, 206, 143)
HSLhsl(56, 43%, 69%)
CMYKcmyk(0%, 2%, 32%, 18%)
LABlab(81.7 -8.2 31.9)
LCHlch(81.7 33.0 104.4)
OKLCHoklch(0.840 0.082 104.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2ce8f on white: 1.62:1
AA ✗ fail · AA-large · AAA
Aa
#d2ce8f on black: 12.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green80.8%
Blue56.1%

CMYK percentages

Cyan0.0%
Magenta1.9%
Yellow31.9%
Key (black)17.6%

Color previews

#d2ce8f text on a black background

contrast 12.97:1

Card sample

#d2ce8f text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2ce8f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2ce8f in the Color Lab