Skip to content

#dccf5f

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

RGB
220, 207, 95
HSL
54°, 64%, 62%
CMYK
0, 6, 57, 14
Luminance
0.6067

Every format

HEX#dccf5f
RGBrgb(220, 207, 95)
HSLhsl(54, 64%, 62%)
CMYKcmyk(0%, 6%, 57%, 14%)
LABlab(82.2 -9.4 56.2)
LCHlch(82.2 57.0 99.5)
OKLCHoklch(0.843 0.134 102.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dccf5f on white: 1.60:1
AA ✗ fail · AA-large · AAA
Aa
#dccf5f on black: 13.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green81.2%
Blue37.3%

CMYK percentages

Cyan0.0%
Magenta5.9%
Yellow56.8%
Key (black)13.7%

Color previews

#dccf5f text on a black background

contrast 13.13:1

Card sample

#dccf5f text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dccf5f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dccf5f in the Color Lab