Skip to content

#cccf91

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

RGB
204, 207, 145
HSL
63°, 39%, 69%
CMYK
1, 0, 30, 19
Luminance
0.5951

Every format

HEX#cccf91
RGBrgb(204, 207, 145)
HSLhsl(63, 39%, 69%)
CMYKcmyk(1%, 0%, 30%, 19%)
LABlab(81.6 -10.8 30.6)
LCHlch(81.6 32.4 109.4)
OKLCHoklch(0.837 0.081 110.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cccf91 on white: 1.63:1
AA ✗ fail · AA-large · AAA
Aa
#cccf91 on black: 12.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green81.2%
Blue56.9%

CMYK percentages

Cyan1.4%
Magenta0.0%
Yellow30.0%
Key (black)18.8%

Color previews

#cccf91 text on a black background

contrast 12.90:1

Card sample

#cccf91 text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cccf91

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cccf91 in the Color Lab