Skip to content

#cfcd49

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

RGB
207, 205, 73
HSL
59°, 58%, 55%
CMYK
0, 1, 65, 19
Luminance
0.5741

Every format

HEX#cfcd49
RGBrgb(207, 205, 73)
HSLhsl(59, 58%, 55%)
CMYKcmyk(0%, 1%, 65%, 19%)
LABlab(80.4 -15.3 63.4)
LCHlch(80.4 65.2 103.6)
OKLCHoklch(0.826 0.151 108.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfcd49 on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#cfcd49 on black: 12.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green80.4%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta1.0%
Yellow64.7%
Key (black)18.8%

Color previews

#cfcd49 text on a black background

contrast 12.48:1

Card sample

#cfcd49 text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfcd49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfcd49 in the Color Lab