Skip to content

#dcdf2a

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

RGB
220, 223, 42
HSL
61°, 74%, 52%
CMYK
1, 0, 81, 13
Luminance
0.6816

Every format

HEX#dcdf2a
RGBrgb(220, 223, 42)
HSLhsl(61, 74%, 52%)
CMYKcmyk(1%, 0%, 81%, 13%)
LABlab(86.1 -20.1 79.1)
LCHlch(86.1 81.6 104.2)
OKLCHoklch(0.873 0.182 110.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.3%
Green87.5%
Blue16.5%

CMYK percentages

Cyan1.3%
Magenta0.0%
Yellow81.2%
Key (black)12.5%

Color previews

#dcdf2a text on a black background

contrast 14.63:1

Card sample

#dcdf2a text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcdf2a

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcdf2a in the Color Lab