Skip to content

#dcdd7f

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

RGB
220, 221, 127
HSL
61°, 58%, 68%
CMYK
1, 0, 43, 13
Luminance
0.6846

Every format

HEX#dcdd7f
RGBrgb(220, 221, 127)
HSLhsl(61, 58%, 68%)
CMYKcmyk(1%, 0%, 43%, 13%)
LABlab(86.2 -13.7 45.9)
LCHlch(86.2 47.9 106.6)
OKLCHoklch(0.877 0.117 109.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.3%
Green86.7%
Blue49.8%

CMYK percentages

Cyan0.5%
Magenta0.0%
Yellow42.5%
Key (black)13.3%

Color previews

#dcdd7f text on a black background

contrast 14.69:1

Card sample

#dcdd7f text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(220, 221, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(220, 221, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dcdd7f;
background: linear-gradient(135deg, #dcdd7f, #9DDD7F);

Monochromatic scale

Palettes built from #dcdd7f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcdd7f in the Color Lab