Skip to content

#cfba74

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

RGB
207, 186, 116
HSL
46°, 49%, 63%
CMYK
0, 10, 44, 19
Luminance
0.4964

Every format

HEX#cfba74
RGBrgb(207, 186, 116)
HSLhsl(46, 49%, 63%)
CMYKcmyk(0%, 10%, 44%, 19%)
LABlab(75.8 -2.1 38.1)
LCHlch(75.8 38.2 93.1)
OKLCHoklch(0.791 0.093 93.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green72.9%
Blue45.5%

CMYK percentages

Cyan0.0%
Magenta10.1%
Yellow44.0%
Key (black)18.8%

Color previews

#cfba74 text on a black background

contrast 10.93:1

Card sample

#cfba74 text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfba74

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfba74 in the Color Lab