Skip to content

#cccf49

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

RGB
204, 207, 73
HSL
61°, 58%, 55%
CMYK
1, 0, 65, 19
Luminance
0.5794

Every format

HEX#cccf49
RGBrgb(204, 207, 73)
HSLhsl(61, 58%, 55%)
CMYKcmyk(1%, 0%, 65%, 19%)
LABlab(80.7 -17.5 63.6)
LCHlch(80.7 66.0 105.4)
OKLCHoklch(0.828 0.153 110.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cccf49 on white: 1.67:1
AA ✗ fail · AA-large · AAA
Aa
#cccf49 on black: 12.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green81.2%
Blue28.6%

CMYK percentages

Cyan1.4%
Magenta0.0%
Yellow64.7%
Key (black)18.8%

Color previews

#cccf49 text on a black background

contrast 12.59:1

Card sample

#cccf49 text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cccf49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cccf49 in the Color Lab