Skip to content

#dccc3f

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

RGB
220, 204, 63
HSL
54°, 69%, 56%
CMYK
0, 7, 71, 14
Luminance
0.5876

Every format

HEX#dccc3f
RGBrgb(220, 204, 63)
HSLhsl(54, 69%, 56%)
CMYKcmyk(0%, 7%, 71%, 14%)
LABlab(81.2 -9.8 68.3)
LCHlch(81.2 69.0 98.2)
OKLCHoklch(0.834 0.155 102.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dccc3f on white: 1.65:1
AA ✗ fail · AA-large · AAA
Aa
#dccc3f on black: 12.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green80.0%
Blue24.7%

CMYK percentages

Cyan0.0%
Magenta7.3%
Yellow71.4%
Key (black)13.7%

Color previews

#dccc3f text on a black background

contrast 12.75:1

Card sample

#dccc3f text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(220, 204, 63, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(220, 204, 63, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dccc3f;
background: linear-gradient(135deg, #dccc3f, #83DC3F);

Monochromatic scale

Palettes built from #dccc3f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dccc3f in the Color Lab