Skip to content

#c8cb49

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

RGB
200, 203, 73
HSL
61°, 56%, 54%
CMYK
2, 0, 64, 20
Luminance
0.5547

Every format

HEX#c8cb49
RGBrgb(200, 203, 73)
HSLhsl(61, 56%, 54%)
CMYKcmyk(2%, 0%, 64%, 20%)
LABlab(79.3 -17.2 62.0)
LCHlch(79.3 64.4 105.5)
OKLCHoklch(0.816 0.150 110.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c8cb49 on white: 1.74:1
AA ✗ fail · AA-large · AAA
Aa
#c8cb49 on black: 12.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.4%
Green79.6%
Blue28.6%

CMYK percentages

Cyan1.5%
Magenta0.0%
Yellow64.0%
Key (black)20.4%

Color previews

#c8cb49 text on a black background

contrast 12.09:1

Card sample

#c8cb49 text on a white background

contrast 1.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c8cb49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c8cb49 in the Color Lab