Skip to content

#ccc175

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

RGB
204, 193, 117
HSL
52°, 46%, 63%
CMYK
0, 5, 43, 20
Luminance
0.5226

Every format

HEX#ccc175
RGBrgb(204, 193, 117)
HSLhsl(52, 46%, 63%)
CMYKcmyk(0%, 5%, 43%, 20%)
LABlab(77.4 -6.8 39.6)
LCHlch(77.4 40.2 99.8)
OKLCHoklch(0.803 0.098 101.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc175 on white: 1.83:1
AA ✗ fail · AA-large · AAA
Aa
#ccc175 on black: 11.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green75.7%
Blue45.9%

CMYK percentages

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

Color previews

#ccc175 text on a black background

contrast 11.45:1

Card sample

#ccc175 text on a white background

contrast 1.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc175

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc175 in the Color Lab