Skip to content

#dccf2f

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

RGB
220, 207, 47
HSL
56°, 71%, 52%
CMYK
0, 6, 79, 14
Luminance
0.6005

Every format

HEX#dccf2f
RGBrgb(220, 207, 47)
HSLhsl(56, 71%, 52%)
CMYKcmyk(0%, 6%, 79%, 14%)
LABlab(81.9 -12.0 74.1)
LCHlch(81.9 75.1 99.2)
OKLCHoklch(0.840 0.166 104.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.3%
Green81.2%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta5.9%
Yellow78.6%
Key (black)13.7%

Color previews

#dccf2f text on a black background

contrast 13.01:1

Card sample

#dccf2f text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dccf2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dccf2f in the Color Lab