Skip to content

#dccf7f

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

RGB
220, 207, 127
HSL
52°, 57%, 68%
CMYK
0, 6, 42, 14
Luminance
0.6137

Every format

HEX#dccf7f
RGBrgb(220, 207, 127)
HSLhsl(52, 57%, 68%)
CMYKcmyk(0%, 6%, 42%, 14%)
LABlab(82.6 -6.6 41.3)
LCHlch(82.6 41.8 99.1)
OKLCHoklch(0.848 0.102 100.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dccf7f on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#dccf7f on black: 13.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green81.2%
Blue49.8%

CMYK percentages

Cyan0.0%
Magenta5.9%
Yellow42.3%
Key (black)13.7%

Color previews

#dccf7f text on a black background

contrast 13.27:1

Card sample

#dccf7f text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dccf7f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dccf7f in the Color Lab