Skip to content

#cfbe49

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

RGB
207, 190, 73
HSL
52°, 58%, 55%
CMYK
0, 8, 65, 19
Luminance
0.5057

Every format

HEX#cfbe49
RGBrgb(207, 190, 73)
HSLhsl(52, 58%, 55%)
CMYKcmyk(0%, 8%, 65%, 19%)
LABlab(76.4 -7.7 59.2)
LCHlch(76.4 59.7 97.4)
OKLCHoklch(0.794 0.137 101.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfbe49 on white: 1.89:1
AA ✗ fail · AA-large · AAA
Aa
#cfbe49 on black: 11.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green74.5%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta8.2%
Yellow64.7%
Key (black)18.8%

Color previews

#cfbe49 text on a black background

contrast 11.11:1

Card sample

#cfbe49 text on a white background

contrast 1.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 190, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 190, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfbe49;
background: linear-gradient(135deg, #cfbe49, #87CF49);

Monochromatic scale

Palettes built from #cfbe49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfbe49 in the Color Lab