Skip to content

#ccc779

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

RGB
204, 199, 121
HSL
56°, 45%, 64%
CMYK
0, 3, 41, 20
Luminance
0.5506

Every format

HEX#ccc779
RGBrgb(204, 199, 121)
HSLhsl(56, 45%, 64%)
CMYKcmyk(0%, 3%, 41%, 20%)
LABlab(79.1 -9.5 39.6)
LCHlch(79.1 40.8 103.5)
OKLCHoklch(0.816 0.100 105.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc779 on white: 1.75:1
AA ✗ fail · AA-large · AAA
Aa
#ccc779 on black: 12.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green78.0%
Blue47.5%

CMYK percentages

Cyan0.0%
Magenta2.5%
Yellow40.7%
Key (black)20.0%

Color previews

#ccc779 text on a black background

contrast 12.01:1

Card sample

#ccc779 text on a white background

contrast 1.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc779

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc779 in the Color Lab