Skip to content

#dcd021

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

RGB
220, 208, 33
HSL
56°, 74%, 50%
CMYK
0, 6, 85, 14
Luminance
0.6044

Every format

HEX#dcd021
RGBrgb(220, 208, 33)
HSLhsl(56, 74%, 50%)
CMYKcmyk(0%, 6%, 85%, 14%)
LABlab(82.1 -12.9 77.8)
LCHlch(82.1 78.9 99.4)
OKLCHoklch(0.841 0.172 105.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcd021 on white: 1.60:1
AA ✗ fail · AA-large · AAA
Aa
#dcd021 on black: 13.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green81.6%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta5.5%
Yellow85.0%
Key (black)13.7%

Color previews

#dcd021 text on a black background

contrast 13.09:1

Card sample

#dcd021 text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcd021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcd021 in the Color Lab