Skip to content

#d0cd45

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

RGB
208, 205, 69
HSL
59°, 60%, 54%
CMYK
0, 1, 67, 18
Luminance
0.5750

Every format

HEX#d0cd45
RGBrgb(208, 205, 69)
HSLhsl(59, 60%, 54%)
CMYKcmyk(0%, 1%, 67%, 18%)
LABlab(80.5 -15.1 65.0)
LCHlch(80.5 66.7 103.1)
OKLCHoklch(0.826 0.153 108.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d0cd45 on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#d0cd45 on black: 12.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.6%
Green80.4%
Blue27.1%

CMYK percentages

Cyan0.0%
Magenta1.4%
Yellow66.8%
Key (black)18.4%

Color previews

#d0cd45 text on a black background

contrast 12.50:1

Card sample

#d0cd45 text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(208, 205, 69, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(208, 205, 69, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d0cd45;
background: linear-gradient(135deg, #d0cd45, #76D045);

Monochromatic scale

Palettes built from #d0cd45

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d0cd45 in the Color Lab