Skip to content

#d3ce5f

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

RGB
211, 206, 95
HSL
57°, 57%, 60%
CMYK
0, 2, 55, 17
Luminance
0.5882

Every format

HEX#d3ce5f
RGBrgb(211, 206, 95)
HSLhsl(57, 57%, 60%)
CMYKcmyk(0%, 2%, 55%, 17%)
LABlab(81.2 -12.6 54.9)
LCHlch(81.2 56.3 103.0)
OKLCHoklch(0.834 0.133 106.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d3ce5f on white: 1.65:1
AA ✗ fail · AA-large · AAA
Aa
#d3ce5f on black: 12.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.7%
Green80.8%
Blue37.3%

CMYK percentages

Cyan0.0%
Magenta2.4%
Yellow55.0%
Key (black)17.3%

Color previews

#d3ce5f text on a black background

contrast 12.76:1

Card sample

#d3ce5f text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d3ce5f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d3ce5f in the Color Lab