Skip to content

#ccc199

a light, soft yellow · cool · closest name: tan

RGB
204, 193, 153
HSL
47°, 33%, 70%
CMYK
0, 5, 25, 20
Luminance
0.5328

Every format

HEX#ccc199
RGBrgb(204, 193, 153)
HSLhsl(47, 33%, 70%)
CMYKcmyk(0%, 5%, 25%, 20%)
LABlab(78.0 -2.5 21.6)
LCHlch(78.0 21.7 96.5)
OKLCHoklch(0.810 0.055 94.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc199 on white: 1.80:1
AA ✗ fail · AA-large · AAA
Aa
#ccc199 on black: 11.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green75.7%
Blue60.0%

CMYK percentages

Cyan0.0%
Magenta5.4%
Yellow25.0%
Key (black)20.0%

Color previews

#ccc199 text on a black background

contrast 11.66:1

Card sample

#ccc199 text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc199

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc199 in the Color Lab