Skip to content

#dcdf20

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

RGB
220, 223, 32
HSL
61°, 75%, 50%
CMYK
1, 0, 86, 13
Luminance
0.6810

Every format

HEX#dcdf20
RGBrgb(220, 223, 32)
HSLhsl(61, 75%, 50%)
CMYKcmyk(1%, 0%, 86%, 13%)
LABlab(86.0 -20.3 81.3)
LCHlch(86.0 83.8 104.0)
OKLCHoklch(0.873 0.186 110.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcdf20 on white: 1.44:1
AA ✗ fail · AA-large · AAA
Aa
#dcdf20 on black: 14.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green87.5%
Blue12.5%

CMYK percentages

Cyan1.3%
Magenta0.0%
Yellow85.7%
Key (black)12.5%

Color previews

#dcdf20 text on a black background

contrast 14.62:1

Card sample

#dcdf20 text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(220, 223, 32, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(220, 223, 32, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dcdf20;
background: linear-gradient(135deg, #dcdf20, #5DDF20);

Monochromatic scale

Palettes built from #dcdf20

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcdf20 in the Color Lab