Skip to content

#d2ba6f

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

RGB
210, 186, 111
HSL
46°, 52%, 63%
CMYK
0, 11, 47, 18
Luminance
0.4997

Every format

HEX#d2ba6f
RGBrgb(210, 186, 111)
HSLhsl(46, 52%, 63%)
CMYKcmyk(0%, 11%, 47%, 18%)
LABlab(76.0 -1.4 41.0)
LCHlch(76.0 41.0 91.9)
OKLCHoklch(0.793 0.099 92.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2ba6f on white: 1.91:1
AA ✗ fail · AA-large · AAA
Aa
#d2ba6f on black: 10.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green72.9%
Blue43.5%

CMYK percentages

Cyan0.0%
Magenta11.4%
Yellow47.1%
Key (black)17.6%

Color previews

#d2ba6f text on a black background

contrast 10.99:1

Card sample

#d2ba6f text on a white background

contrast 1.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2ba6f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2ba6f in the Color Lab