Skip to content

#d3cf6f

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

RGB
211, 207, 111
HSL
58°, 53%, 63%
CMYK
0, 2, 47, 17
Luminance
0.5962

Every format

HEX#d3cf6f
RGBrgb(211, 207, 111)
HSLhsl(58, 53%, 63%)
CMYKcmyk(0%, 2%, 47%, 17%)
LABlab(81.6 -11.8 47.9)
LCHlch(81.6 49.3 103.8)
OKLCHoklch(0.838 0.119 106.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.7%
Green81.2%
Blue43.5%

CMYK percentages

Cyan0.0%
Magenta1.9%
Yellow47.4%
Key (black)17.3%

Color previews

#d3cf6f text on a black background

contrast 12.92:1

Card sample

#d3cf6f text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d3cf6f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d3cf6f in the Color Lab