Skip to content

#dccc2e

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

RGB
220, 204, 46
HSL
55°, 71%, 52%
CMYK
0, 7, 79, 14
Luminance
0.5860

Every format

HEX#dccc2e
RGBrgb(220, 204, 46)
HSLhsl(55, 71%, 52%)
CMYKcmyk(0%, 7%, 79%, 14%)
LABlab(81.1 -10.5 73.7)
LCHlch(81.1 74.5 98.1)
OKLCHoklch(0.833 0.164 103.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.3%
Green80.0%
Blue18.0%

CMYK percentages

Cyan0.0%
Magenta7.3%
Yellow79.1%
Key (black)13.7%

Color previews

#dccc2e text on a black background

contrast 12.72:1

Card sample

#dccc2e text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dccc2e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dccc2e in the Color Lab