Skip to content

#cfce49

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

RGB
207, 206, 73
HSL
60°, 58%, 55%
CMYK
0, 1, 65, 19
Luminance
0.5789

Every format

HEX#cfce49
RGBrgb(207, 206, 73)
HSLhsl(60, 58%, 55%)
CMYKcmyk(0%, 1%, 65%, 19%)
LABlab(80.7 -15.8 63.6)
LCHlch(80.7 65.6 103.9)
OKLCHoklch(0.828 0.152 108.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green80.8%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta0.5%
Yellow64.7%
Key (black)18.8%

Color previews

#cfce49 text on a black background

contrast 12.58:1

Card sample

#cfce49 text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 206, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 206, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfce49;
background: linear-gradient(135deg, #cfce49, #77CF49);

Monochromatic scale

Palettes built from #cfce49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfce49 in the Color Lab