Skip to content

#ccc455

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

RGB
204, 196, 85
HSL
56°, 54%, 57%
CMYK
0, 4, 58, 20
Luminance
0.5297

Every format

HEX#ccc455
RGBrgb(204, 196, 85)
HSLhsl(56, 54%, 57%)
CMYKcmyk(0%, 4%, 58%, 20%)
LABlab(77.9 -11.2 55.5)
LCHlch(77.9 56.6 101.4)
OKLCHoklch(0.805 0.133 105.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc455 on white: 1.81:1
AA ✗ fail · AA-large · AAA
Aa
#ccc455 on black: 11.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green76.9%
Blue33.3%

CMYK percentages

Cyan0.0%
Magenta3.9%
Yellow58.3%
Key (black)20.0%

Color previews

#ccc455 text on a black background

contrast 11.59:1

Card sample

#ccc455 text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc455

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc455 in the Color Lab