Skip to content

#dcdb21

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

RGB
220, 219, 33
HSL
60°, 74%, 50%
CMYK
0, 1, 85, 14
Luminance
0.6599

Every format

HEX#dcdb21
RGBrgb(220, 219, 33)
HSLhsl(60, 74%, 50%)
CMYKcmyk(0%, 1%, 85%, 14%)
LABlab(85.0 -18.3 80.2)
LCHlch(85.0 82.3 102.9)
OKLCHoklch(0.864 0.182 109.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.3%
Green85.9%
Blue12.9%

CMYK percentages

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

Color previews

#dcdb21 text on a black background

contrast 14.20:1

Card sample

#dcdb21 text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcdb21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcdb21 in the Color Lab