Skip to content

#cfcc80

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

RGB
207, 204, 128
HSL
58°, 45%, 66%
CMYK
0, 1, 38, 19
Luminance
0.5801

Every format

HEX#cfcc80
RGBrgb(207, 204, 128)
HSLhsl(58, 45%, 66%)
CMYKcmyk(0%, 1%, 38%, 19%)
LABlab(80.7 -10.1 38.3)
LCHlch(80.7 39.6 104.8)
OKLCHoklch(0.831 0.098 106.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfcc80 on white: 1.67:1
AA ✗ fail · AA-large · AAA
Aa
#cfcc80 on black: 12.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green80.0%
Blue50.2%

CMYK percentages

Cyan0.0%
Magenta1.4%
Yellow38.2%
Key (black)18.8%

Color previews

#cfcc80 text on a black background

contrast 12.60:1

Card sample

#cfcc80 text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfcc80

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfcc80 in the Color Lab