Skip to content

#cfba60

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

RGB
207, 186, 96
HSL
49°, 54%, 59%
CMYK
0, 10, 54, 19
Luminance
0.4923

Every format

HEX#cfba60
RGBrgb(207, 186, 96)
HSLhsl(49, 54%, 59%)
CMYKcmyk(0%, 10%, 54%, 19%)
LABlab(75.6 -3.9 47.8)
LCHlch(75.6 48.0 94.7)
OKLCHoklch(0.788 0.113 96.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfba60 on white: 1.94:1
AA ✗ fail · AA-large · AAA
Aa
#cfba60 on black: 10.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green72.9%
Blue37.6%

CMYK percentages

Cyan0.0%
Magenta10.1%
Yellow53.6%
Key (black)18.8%

Color previews

#cfba60 text on a black background

contrast 10.85:1

Card sample

#cfba60 text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfba60

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfba60 in the Color Lab