Skip to content

#cfcc98

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

RGB
207, 204, 152
HSL
57°, 36%, 70%
CMYK
0, 1, 27, 19
Luminance
0.5872

Every format

HEX#cfcc98
RGBrgb(207, 204, 152)
HSLhsl(57, 36%, 70%)
CMYKcmyk(0%, 1%, 27%, 19%)
LABlab(81.1 -7.2 26.4)
LCHlch(81.1 27.3 105.2)
OKLCHoklch(0.835 0.069 105.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfcc98 on white: 1.65:1
AA ✗ fail · AA-large · AAA
Aa
#cfcc98 on black: 12.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green80.0%
Blue59.6%

CMYK percentages

Cyan0.0%
Magenta1.4%
Yellow26.6%
Key (black)18.8%

Color previews

#cfcc98 text on a black background

contrast 12.74:1

Card sample

#cfcc98 text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfcc98

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfcc98 in the Color Lab