Skip to content

#ccc075

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

RGB
204, 192, 117
HSL
52°, 46%, 63%
CMYK
0, 6, 43, 20
Luminance
0.5182

Every format

HEX#ccc075
RGBrgb(204, 192, 117)
HSLhsl(52, 46%, 63%)
CMYKcmyk(0%, 6%, 43%, 20%)
LABlab(77.2 -6.3 39.2)
LCHlch(77.2 39.8 99.2)
OKLCHoklch(0.801 0.097 100.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc075 on white: 1.85:1
AA ✗ fail · AA-large · AAA
Aa
#ccc075 on black: 11.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green75.3%
Blue45.9%

CMYK percentages

Cyan0.0%
Magenta5.9%
Yellow42.6%
Key (black)20.0%

Color previews

#ccc075 text on a black background

contrast 11.36:1

Card sample

#ccc075 text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc075

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc075 in the Color Lab