Skip to content

#dccf4f

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

RGB
220, 207, 79
HSL
55°, 67%, 59%
CMYK
0, 6, 64, 14
Luminance
0.6041

Every format

HEX#dccf4f
RGBrgb(220, 207, 79)
HSLhsl(55, 67%, 59%)
CMYKcmyk(0%, 6%, 64%, 14%)
LABlab(82.1 -10.5 63.0)
LCHlch(82.1 63.9 99.5)
OKLCHoklch(0.842 0.147 103.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dccf4f on white: 1.61:1
AA ✗ fail · AA-large · AAA
Aa
#dccf4f on black: 13.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green81.2%
Blue31.0%

CMYK percentages

Cyan0.0%
Magenta5.9%
Yellow64.1%
Key (black)13.7%

Color previews

#dccf4f text on a black background

contrast 13.08:1

Card sample

#dccf4f text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dccf4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dccf4f in the Color Lab