Skip to content

#ccc149

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

RGB
204, 193, 73
HSL
55°, 56%, 54%
CMYK
0, 5, 64, 20
Luminance
0.5146

Every format

HEX#ccc149
RGBrgb(204, 193, 73)
HSLhsl(55, 56%, 54%)
CMYKcmyk(0%, 5%, 64%, 20%)
LABlab(77.0 -10.5 59.7)
LCHlch(77.0 60.6 100.0)
OKLCHoklch(0.798 0.139 104.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc149 on white: 1.86:1
AA ✗ fail · AA-large · AAA
Aa
#ccc149 on black: 11.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green75.7%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta5.4%
Yellow64.2%
Key (black)20.0%

Color previews

#ccc149 text on a black background

contrast 11.29:1

Card sample

#ccc149 text on a white background

contrast 1.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(204, 193, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 193, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccc149;
background: linear-gradient(135deg, #ccc149, #80CC49);

Monochromatic scale

Palettes built from #ccc149

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc149 in the Color Lab