Skip to content

#ccc749

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

RGB
204, 199, 73
HSL
58°, 56%, 54%
CMYK
0, 3, 64, 20
Luminance
0.5417

Every format

HEX#ccc749
RGBrgb(204, 199, 73)
HSLhsl(58, 56%, 54%)
CMYKcmyk(0%, 3%, 64%, 20%)
LABlab(78.6 -13.5 61.4)
LCHlch(78.6 62.8 102.4)
OKLCHoklch(0.810 0.145 107.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green78.0%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta2.5%
Yellow64.2%
Key (black)20.0%

Color previews

#ccc749 text on a black background

contrast 11.83:1

Card sample

#ccc749 text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc749

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc749 in the Color Lab