Skip to content

#ccc644

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

RGB
204, 198, 68
HSL
57°, 57%, 53%
CMYK
0, 3, 67, 20
Luminance
0.5364

Every format

HEX#ccc644
RGBrgb(204, 198, 68)
HSLhsl(57, 57%, 53%)
CMYKcmyk(0%, 3%, 67%, 20%)
LABlab(78.3 -13.3 63.0)
LCHlch(78.3 64.4 101.9)
OKLCHoklch(0.808 0.148 106.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc644 on white: 1.79:1
AA ✗ fail · AA-large · AAA
Aa
#ccc644 on black: 11.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green77.6%
Blue26.7%

CMYK percentages

Cyan0.0%
Magenta2.9%
Yellow66.7%
Key (black)20.0%

Color previews

#ccc644 text on a black background

contrast 11.73:1

Card sample

#ccc644 text on a white background

contrast 1.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(204, 198, 68, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 198, 68, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccc644;
background: linear-gradient(135deg, #ccc644, #77CC44);

Monochromatic scale

Palettes built from #ccc644

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc644 in the Color Lab