Skip to content

#dcdb2f

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

RGB
220, 219, 47
HSL
60°, 71%, 52%
CMYK
0, 1, 79, 14
Luminance
0.6608

Every format

HEX#dcdb2f
RGBrgb(220, 219, 47)
HSLhsl(60, 71%, 52%)
CMYKcmyk(0%, 1%, 79%, 14%)
LABlab(85.0 -17.9 76.9)
LCHlch(85.0 79.0 103.1)
OKLCHoklch(0.865 0.177 109.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcdb2f on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#dcdb2f on black: 14.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green85.9%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta0.5%
Yellow78.6%
Key (black)13.7%

Color previews

#dcdb2f text on a black background

contrast 14.22:1

Card sample

#dcdb2f text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcdb2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcdb2f in the Color Lab