Skip to content

#cccf92

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

RGB
204, 207, 146
HSL
63°, 39%, 69%
CMYK
1, 0, 30, 19
Luminance
0.5954

Every format

HEX#cccf92
RGBrgb(204, 207, 146)
HSLhsl(63, 39%, 69%)
CMYKcmyk(1%, 0%, 30%, 19%)
LABlab(81.6 -10.6 30.1)
LCHlch(81.6 31.9 109.5)
OKLCHoklch(0.838 0.080 110.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cccf92 on white: 1.63:1
AA ✗ fail · AA-large · AAA
Aa
#cccf92 on black: 12.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green81.2%
Blue57.3%

CMYK percentages

Cyan1.4%
Magenta0.0%
Yellow29.5%
Key (black)18.8%

Color previews

#cccf92 text on a black background

contrast 12.91:1

Card sample

#cccf92 text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cccf92

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cccf92 in the Color Lab