Skip to content

#cfbc4d

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

RGB
207, 188, 77
HSL
51°, 58%, 56%
CMYK
0, 9, 63, 19
Luminance
0.4977

Every format

HEX#cfbc4d
RGBrgb(207, 188, 77)
HSLhsl(51, 58%, 56%)
CMYKcmyk(0%, 9%, 63%, 19%)
LABlab(75.9 -6.4 57.0)
LCHlch(75.9 57.3 96.4)
OKLCHoklch(0.790 0.132 99.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green73.7%
Blue30.2%

CMYK percentages

Cyan0.0%
Magenta9.2%
Yellow62.8%
Key (black)18.8%

Color previews

#cfbc4d text on a black background

contrast 10.95:1

Card sample

#cfbc4d text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfbc4d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfbc4d in the Color Lab