Skip to content

#ccc063

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

RGB
204, 192, 99
HSL
53°, 51%, 59%
CMYK
0, 6, 52, 20
Luminance
0.5144

Every format

HEX#ccc063
RGBrgb(204, 192, 99)
HSLhsl(53, 51%, 59%)
CMYKcmyk(0%, 6%, 52%, 20%)
LABlab(76.9 -8.0 47.9)
LCHlch(76.9 48.6 99.5)
OKLCHoklch(0.798 0.116 102.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc063 on white: 1.86:1
AA ✗ fail · AA-large · AAA
Aa
#ccc063 on black: 11.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green75.3%
Blue38.8%

CMYK percentages

Cyan0.0%
Magenta5.9%
Yellow51.5%
Key (black)20.0%

Color previews

#ccc063 text on a black background

contrast 11.29:1

Card sample

#ccc063 text on a white background

contrast 1.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(204, 192, 99, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 192, 99, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccc063;
background: linear-gradient(135deg, #ccc063, #92CC63);

Monochromatic scale

Palettes built from #ccc063

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc063 in the Color Lab