Skip to content

#cccf84

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

RGB
204, 207, 132
HSL
62°, 44%, 67%
CMYK
1, 0, 36, 19
Luminance
0.5913

Every format

HEX#cccf84
RGBrgb(204, 207, 132)
HSLhsl(62, 44%, 67%)
CMYKcmyk(1%, 0%, 36%, 19%)
LABlab(81.4 -12.4 37.0)
LCHlch(81.4 39.0 108.5)
OKLCHoklch(0.835 0.097 110.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cccf84 on white: 1.64:1
AA ✗ fail · AA-large · AAA
Aa
#cccf84 on black: 12.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green81.2%
Blue51.8%

CMYK percentages

Cyan1.4%
Magenta0.0%
Yellow36.2%
Key (black)18.8%

Color previews

#cccf84 text on a black background

contrast 12.83:1

Card sample

#cccf84 text on a white background

contrast 1.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(204, 207, 132, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 207, 132, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cccf84;
background: linear-gradient(135deg, #cccf84, #9ACF84);

Monochromatic scale

Palettes built from #cccf84

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cccf84 in the Color Lab