Skip to content

#cccf5d

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

RGB
204, 207, 93
HSL
62°, 54%, 59%
CMYK
1, 0, 55, 19
Luminance
0.5825

Every format

HEX#cccf5d
RGBrgb(204, 207, 93)
HSLhsl(62, 54%, 59%)
CMYKcmyk(1%, 0%, 55%, 19%)
LABlab(80.9 -16.1 55.3)
LCHlch(80.9 57.6 106.3)
OKLCHoklch(0.830 0.137 110.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cccf5d on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#cccf5d on black: 12.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green81.2%
Blue36.5%

CMYK percentages

Cyan1.4%
Magenta0.0%
Yellow55.1%
Key (black)18.8%

Color previews

#cccf5d text on a black background

contrast 12.65:1

Card sample

#cccf5d text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cccf5d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cccf5d in the Color Lab