Skip to content

#cccf6c

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

RGB
204, 207, 108
HSL
62°, 51%, 62%
CMYK
1, 0, 48, 19
Luminance
0.5855

Every format

HEX#cccf6c
RGBrgb(204, 207, 108)
HSLhsl(62, 51%, 62%)
CMYKcmyk(1%, 0%, 48%, 19%)
LABlab(81.0 -14.9 48.5)
LCHlch(81.0 50.7 107.1)
OKLCHoklch(0.831 0.123 110.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cccf6c on white: 1.65:1
AA ✗ fail · AA-large · AAA
Aa
#cccf6c on black: 12.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green81.2%
Blue42.4%

CMYK percentages

Cyan1.4%
Magenta0.0%
Yellow47.8%
Key (black)18.8%

Color previews

#cccf6c text on a black background

contrast 12.71:1

Card sample

#cccf6c text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cccf6c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cccf6c in the Color Lab