Skip to content

#ccc89b

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

RGB
204, 200, 155
HSL
55°, 33%, 70%
CMYK
0, 2, 24, 20
Luminance
0.5651

Every format

HEX#ccc89b
RGBrgb(204, 200, 155)
HSLhsl(55, 33%, 70%)
CMYKcmyk(0%, 2%, 24%, 20%)
LABlab(79.9 -5.8 23.1)
LCHlch(79.9 23.8 104.2)
OKLCHoklch(0.825 0.060 103.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc89b on white: 1.71:1
AA ✗ fail · AA-large · AAA
Aa
#ccc89b on black: 12.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green78.4%
Blue60.8%

CMYK percentages

Cyan0.0%
Magenta2.0%
Yellow24.0%
Key (black)20.0%

Color previews

#ccc89b text on a black background

contrast 12.30:1

Card sample

#ccc89b text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc89b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc89b in the Color Lab