Skip to content

#dcdf49

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

RGB
220, 223, 73
HSL
61°, 70%, 58%
CMYK
1, 0, 67, 13
Luminance
0.6847

Every format

HEX#dcdf49
RGBrgb(220, 223, 73)
HSLhsl(61, 70%, 58%)
CMYKcmyk(1%, 0%, 67%, 13%)
LABlab(86.2 -18.8 69.6)
LCHlch(86.2 72.1 105.1)
OKLCHoklch(0.875 0.166 110.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcdf49 on white: 1.43:1
AA ✗ fail · AA-large · AAA
Aa
#dcdf49 on black: 14.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green87.5%
Blue28.6%

CMYK percentages

Cyan1.3%
Magenta0.0%
Yellow67.3%
Key (black)12.5%

Color previews

#dcdf49 text on a black background

contrast 14.69:1

Card sample

#dcdf49 text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcdf49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcdf49 in the Color Lab