Skip to content

#dcdf55

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

RGB
220, 223, 85
HSL
61°, 68%, 60%
CMYK
1, 0, 62, 13
Luminance
0.6865

Every format

HEX#dcdf55
RGBrgb(220, 223, 85)
HSLhsl(61, 68%, 60%)
CMYKcmyk(1%, 0%, 62%, 13%)
LABlab(86.3 -18.1 65.0)
LCHlch(86.3 67.5 105.5)
OKLCHoklch(0.876 0.158 110.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.3%
Green87.5%
Blue33.3%

CMYK percentages

Cyan1.3%
Magenta0.0%
Yellow61.9%
Key (black)12.5%

Color previews

#dcdf55 text on a black background

contrast 14.73:1

Card sample

#dcdf55 text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcdf55

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcdf55 in the Color Lab