Skip to content

#d0cf6f

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

RGB
208, 207, 111
HSL
59°, 51%, 63%
CMYK
0, 1, 47, 18
Luminance
0.5918

Every format

HEX#d0cf6f
RGBrgb(208, 207, 111)
HSLhsl(59, 51%, 63%)
CMYKcmyk(0%, 1%, 47%, 18%)
LABlab(81.4 -13.0 47.5)
LCHlch(81.4 49.3 105.3)
OKLCHoklch(0.835 0.119 108.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.6%
Green81.2%
Blue43.5%

CMYK percentages

Cyan0.0%
Magenta0.5%
Yellow46.6%
Key (black)18.4%

Color previews

#d0cf6f text on a black background

contrast 12.84:1

Card sample

#d0cf6f text on a white background

contrast 1.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d0cf6f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d0cf6f in the Color Lab