Skip to content

#cccf8b

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

RGB
204, 207, 139
HSL
63°, 42%, 68%
CMYK
1, 0, 33, 19
Luminance
0.5933

Every format

HEX#cccf8b
RGBrgb(204, 207, 139)
HSLhsl(63, 42%, 68%)
CMYKcmyk(1%, 0%, 33%, 19%)
LABlab(81.5 -11.5 33.5)
LCHlch(81.5 35.4 109.0)
OKLCHoklch(0.836 0.089 110.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green81.2%
Blue54.5%

CMYK percentages

Cyan1.4%
Magenta0.0%
Yellow32.9%
Key (black)18.8%

Color previews

#cccf8b text on a black background

contrast 12.87:1

Card sample

#cccf8b text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cccf8b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cccf8b in the Color Lab