Skip to content

#cfbc56

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

RGB
207, 188, 86
HSL
51°, 56%, 58%
CMYK
0, 9, 59, 19
Luminance
0.4990

Every format

HEX#cfbc56
RGBrgb(207, 188, 86)
HSLhsl(51, 56%, 58%)
CMYKcmyk(0%, 9%, 59%, 19%)
LABlab(76.0 -5.8 53.0)
LCHlch(76.0 53.3 96.2)
OKLCHoklch(0.791 0.124 98.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfbc56 on white: 1.91:1
AA ✗ fail · AA-large · AAA
Aa
#cfbc56 on black: 10.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green73.7%
Blue33.7%

CMYK percentages

Cyan0.0%
Magenta9.2%
Yellow58.5%
Key (black)18.8%

Color previews

#cfbc56 text on a black background

contrast 10.98:1

Card sample

#cfbc56 text on a white background

contrast 1.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfbc56

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfbc56 in the Color Lab