Skip to content

#ccc39d

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

RGB
204, 195, 157
HSL
49°, 32%, 71%
CMYK
0, 4, 23, 20
Luminance
0.5430

Every format

HEX#ccc39d
RGBrgb(204, 195, 157)
HSLhsl(49, 32%, 71%)
CMYKcmyk(0%, 4%, 23%, 20%)
LABlab(78.6 -3.0 20.3)
LCHlch(78.6 20.5 98.3)
OKLCHoklch(0.815 0.052 96.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green76.5%
Blue61.6%

CMYK percentages

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

Color previews

#ccc39d text on a black background

contrast 11.86:1

Card sample

#ccc39d text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc39d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc39d in the Color Lab