Skip to content

#cccc66

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

RGB
204, 204, 102
HSL
60°, 50%, 60%
CMYK
0, 0, 50, 20
Luminance
0.5698

Every format

HEX#cccc66
RGBrgb(204, 204, 102)
HSLhsl(60, 50%, 60%)
CMYKcmyk(0%, 0%, 50%, 20%)
LABlab(80.2 -13.9 50.3)
LCHlch(80.2 52.2 105.5)
OKLCHoklch(0.824 0.125 108.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cccc66 on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#cccc66 on black: 12.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green80.0%
Blue40.0%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow50.0%
Key (black)20.0%

Color previews

#cccc66 text on a black background

contrast 12.40:1

Card sample

#cccc66 text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cccc66

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cccc66 in the Color Lab