Skip to content

#dcdf2b

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

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

Every format

HEX#dcdf2b
RGBrgb(220, 223, 43)
HSLhsl(61, 74%, 52%)
CMYKcmyk(1%, 0%, 81%, 13%)
LABlab(86.1 -20.0 78.9)
LCHlch(86.1 81.4 104.2)
OKLCHoklch(0.873 0.182 110.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#dcdf2b text on a black background

contrast 14.63:1

Card sample

#dcdf2b text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcdf2b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcdf2b in the Color Lab