Skip to content

#cbcf49

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

RGB
203, 207, 73
HSL
62°, 58%, 55%
CMYK
2, 0, 65, 19
Luminance
0.5780

Every format

HEX#cbcf49
RGBrgb(203, 207, 73)
HSLhsl(62, 58%, 55%)
CMYKcmyk(2%, 0%, 65%, 19%)
LABlab(80.6 -17.9 63.5)
LCHlch(80.6 66.0 105.8)
OKLCHoklch(0.827 0.153 111.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbcf49 on white: 1.67:1
AA ✗ fail · AA-large · AAA
Aa
#cbcf49 on black: 12.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green81.2%
Blue28.6%

CMYK percentages

Cyan1.9%
Magenta0.0%
Yellow64.7%
Key (black)18.8%

Color previews

#cbcf49 text on a black background

contrast 12.56:1

Card sample

#cbcf49 text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbcf49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbcf49 in the Color Lab