Skip to content

#dcdf4f

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

RGB
220, 223, 79
HSL
61°, 69%, 59%
CMYK
1, 0, 65, 13
Luminance
0.6856

Every format

HEX#dcdf4f
RGBrgb(220, 223, 79)
HSLhsl(61, 69%, 59%)
CMYKcmyk(1%, 0%, 65%, 13%)
LABlab(86.3 -18.5 67.4)
LCHlch(86.3 69.9 105.3)
OKLCHoklch(0.875 0.162 110.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.3%
Green87.5%
Blue31.0%

CMYK percentages

Cyan1.3%
Magenta0.0%
Yellow64.6%
Key (black)12.5%

Color previews

#dcdf4f text on a black background

contrast 14.71:1

Card sample

#dcdf4f text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcdf4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcdf4f in the Color Lab