Skip to content

#ccc399

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

RGB
204, 195, 153
HSL
49°, 33%, 70%
CMYK
0, 4, 25, 20
Luminance
0.5417

Every format

HEX#ccc399
RGBrgb(204, 195, 153)
HSLhsl(49, 33%, 70%)
CMYKcmyk(0%, 4%, 25%, 20%)
LABlab(78.6 -3.5 22.3)
LCHlch(78.6 22.6 98.9)
OKLCHoklch(0.814 0.057 97.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc399 on white: 1.77:1
AA ✗ fail · AA-large · AAA
Aa
#ccc399 on black: 11.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green76.5%
Blue60.0%

CMYK percentages

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

Color previews

#ccc399 text on a black background

contrast 11.83:1

Card sample

#ccc399 text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc399

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc399 in the Color Lab