Skip to content

#d0cf2c

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

RGB
208, 207, 44
HSL
60°, 65%, 49%
CMYK
0, 1, 79, 18
Luminance
0.5822

Every format

HEX#d0cf2c
RGBrgb(208, 207, 44)
HSLhsl(60, 65%, 49%)
CMYKcmyk(0%, 1%, 79%, 18%)
LABlab(80.9 -17.2 73.7)
LCHlch(80.9 75.7 103.1)
OKLCHoklch(0.829 0.169 109.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d0cf2c on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#d0cf2c on black: 12.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.6%
Green81.2%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta0.5%
Yellow78.8%
Key (black)18.4%

Color previews

#d0cf2c text on a black background

contrast 12.64:1

Card sample

#d0cf2c text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d0cf2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d0cf2c in the Color Lab