Skip to content

#ccc65b

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

RGB
204, 198, 91
HSL
57°, 53%, 58%
CMYK
0, 3, 55, 20
Luminance
0.5398

Every format

HEX#ccc65b
RGBrgb(204, 198, 91)
HSLhsl(57, 53%, 58%)
CMYKcmyk(0%, 3%, 55%, 20%)
LABlab(78.5 -11.8 53.4)
LCHlch(78.5 54.7 102.4)
OKLCHoklch(0.810 0.129 106.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc65b on white: 1.78:1
AA ✗ fail · AA-large · AAA
Aa
#ccc65b on black: 11.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green77.6%
Blue35.7%

CMYK percentages

Cyan0.0%
Magenta2.9%
Yellow55.4%
Key (black)20.0%

Color previews

#ccc65b text on a black background

contrast 11.80:1

Card sample

#ccc65b text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(204, 198, 91, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 198, 91, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccc65b;
background: linear-gradient(135deg, #ccc65b, #87CC5B);

Monochromatic scale

Palettes built from #ccc65b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc65b in the Color Lab