Skip to content

#c5cb49

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

RGB
197, 203, 73
HSL
63°, 56%, 54%
CMYK
3, 0, 64, 20
Luminance
0.5506

Every format

HEX#c5cb49
RGBrgb(197, 203, 73)
HSLhsl(63, 56%, 54%)
CMYKcmyk(3%, 0%, 64%, 20%)
LABlab(79.1 -18.4 61.7)
LCHlch(79.1 64.4 106.6)
OKLCHoklch(0.813 0.150 111.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c5cb49 on white: 1.75:1
AA ✗ fail · AA-large · AAA
Aa
#c5cb49 on black: 12.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red77.3%
Green79.6%
Blue28.6%

CMYK percentages

Cyan3.0%
Magenta0.0%
Yellow64.0%
Key (black)20.4%

Color previews

#c5cb49 text on a black background

contrast 12.01:1

Card sample

#c5cb49 text on a white background

contrast 1.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c5cb49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c5cb49 in the Color Lab