Skip to content

#dccb2f

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

RGB
220, 203, 47
HSL
54°, 71%, 52%
CMYK
0, 8, 79, 14
Luminance
0.5813

Every format

HEX#dccb2f
RGBrgb(220, 203, 47)
HSLhsl(54, 71%, 52%)
CMYKcmyk(0%, 8%, 79%, 14%)
LABlab(80.8 -10.0 73.2)
LCHlch(80.8 73.9 97.8)
OKLCHoklch(0.831 0.163 102.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.3%
Green79.6%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta7.7%
Yellow78.6%
Key (black)13.7%

Color previews

#dccb2f text on a black background

contrast 12.63:1

Card sample

#dccb2f text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dccb2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dccb2f in the Color Lab