Skip to content

#d2ce6f

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

RGB
210, 206, 111
HSL
58°, 52%, 63%
CMYK
0, 2, 47, 18
Luminance
0.5899

Every format

HEX#d2ce6f
RGBrgb(210, 206, 111)
HSLhsl(58, 52%, 63%)
CMYKcmyk(0%, 2%, 47%, 18%)
LABlab(81.3 -11.7 47.4)
LCHlch(81.3 48.8 103.8)
OKLCHoklch(0.835 0.118 106.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2ce6f on white: 1.64:1
AA ✗ fail · AA-large · AAA
Aa
#d2ce6f on black: 12.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green80.8%
Blue43.5%

CMYK percentages

Cyan0.0%
Magenta1.9%
Yellow47.1%
Key (black)17.6%

Color previews

#d2ce6f text on a black background

contrast 12.80:1

Card sample

#d2ce6f text on a white background

contrast 1.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2ce6f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2ce6f in the Color Lab