Skip to content

#ccc16b

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

RGB
204, 193, 107
HSL
53°, 49%, 61%
CMYK
0, 5, 48, 20
Luminance
0.5204

Every format

HEX#ccc16b
RGBrgb(204, 193, 107)
HSLhsl(53, 49%, 61%)
CMYKcmyk(0%, 5%, 48%, 20%)
LABlab(77.3 -7.8 44.4)
LCHlch(77.3 45.1 100.0)
OKLCHoklch(0.802 0.108 102.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc16b on white: 1.84:1
AA ✗ fail · AA-large · AAA
Aa
#ccc16b on black: 11.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green75.7%
Blue42.0%

CMYK percentages

Cyan0.0%
Magenta5.4%
Yellow47.5%
Key (black)20.0%

Color previews

#ccc16b text on a black background

contrast 11.41:1

Card sample

#ccc16b text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(204, 193, 107, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 193, 107, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccc16b;
background: linear-gradient(135deg, #ccc16b, #96CC6B);

Monochromatic scale

Palettes built from #ccc16b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc16b in the Color Lab