Skip to content

#dccf2c

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

RGB
220, 207, 44
HSL
56°, 72%, 52%
CMYK
0, 6, 80, 14
Luminance
0.6002

Every format

HEX#dccf2c
RGBrgb(220, 207, 44)
HSLhsl(56, 72%, 52%)
CMYKcmyk(0%, 6%, 80%, 14%)
LABlab(81.8 -12.1 75.0)
LCHlch(81.8 75.9 99.2)
OKLCHoklch(0.839 0.167 104.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dccf2c on white: 1.61:1
AA ✗ fail · AA-large · AAA
Aa
#dccf2c on black: 13.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green81.2%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta5.9%
Yellow80.0%
Key (black)13.7%

Color previews

#dccf2c text on a black background

contrast 13.00:1

Card sample

#dccf2c text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dccf2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dccf2c in the Color Lab