Skip to content

#dcdf6f

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

RGB
220, 223, 111
HSL
62°, 64%, 66%
CMYK
1, 0, 50, 13
Luminance
0.6914

Every format

HEX#dcdf6f
RGBrgb(220, 223, 111)
HSLhsl(62, 64%, 66%)
CMYKcmyk(1%, 0%, 50%, 13%)
LABlab(86.6 -16.1 53.9)
LCHlch(86.6 56.3 106.7)
OKLCHoklch(0.879 0.136 110.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcdf6f on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#dcdf6f on black: 14.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green87.5%
Blue43.5%

CMYK percentages

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

Color previews

#dcdf6f text on a black background

contrast 14.83:1

Card sample

#dcdf6f text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcdf6f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcdf6f in the Color Lab