Skip to content

#dcdf28

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

RGB
220, 223, 40
HSL
61°, 74%, 52%
CMYK
1, 0, 82, 13
Luminance
0.6814

Every format

HEX#dcdf28
RGBrgb(220, 223, 40)
HSLhsl(61, 74%, 52%)
CMYKcmyk(1%, 0%, 82%, 13%)
LABlab(86.1 -20.1 79.6)
LCHlch(86.1 82.1 104.2)
OKLCHoklch(0.873 0.183 110.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.3%
Green87.5%
Blue15.7%

CMYK percentages

Cyan1.3%
Magenta0.0%
Yellow82.1%
Key (black)12.5%

Color previews

#dcdf28 text on a black background

contrast 14.63:1

Card sample

#dcdf28 text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcdf28

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcdf28 in the Color Lab