Skip to content

#cfba80

a light, vivid yellow · warm · closest name: tan

RGB
207, 186, 128
HSL
44°, 45%, 66%
CMYK
0, 10, 38, 19
Luminance
0.4994

Every format

HEX#cfba80
RGBrgb(207, 186, 128)
HSLhsl(44, 45%, 66%)
CMYKcmyk(0%, 10%, 38%, 19%)
LABlab(76.0 -0.8 32.1)
LCHlch(76.0 32.2 91.4)
OKLCHoklch(0.793 0.080 90.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green72.9%
Blue50.2%

CMYK percentages

Cyan0.0%
Magenta10.1%
Yellow38.2%
Key (black)18.8%

Color previews

#cfba80 text on a black background

contrast 10.99:1

Card sample

#cfba80 text on a white background

contrast 1.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfba80

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfba80 in the Color Lab