Skip to content

#cfbc49

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

RGB
207, 188, 73
HSL
52°, 58%, 55%
CMYK
0, 9, 65, 19
Luminance
0.4971

Every format

HEX#cfbc49
RGBrgb(207, 188, 73)
HSLhsl(52, 58%, 55%)
CMYKcmyk(0%, 9%, 65%, 19%)
LABlab(75.9 -6.6 58.6)
LCHlch(75.9 59.0 96.5)
OKLCHoklch(0.790 0.135 99.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfbc49 on white: 1.92:1
AA ✗ fail · AA-large · AAA
Aa
#cfbc49 on black: 10.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green73.7%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta9.2%
Yellow64.7%
Key (black)18.8%

Color previews

#cfbc49 text on a black background

contrast 10.94:1

Card sample

#cfbc49 text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfbc49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfbc49 in the Color Lab