Skip to content

#c5ce49

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

RGB
197, 206, 73
HSL
64°, 58%, 55%
CMYK
4, 0, 65, 19
Luminance
0.5649

Every format

HEX#c5ce49
RGBrgb(197, 206, 73)
HSLhsl(64, 58%, 55%)
CMYKcmyk(4%, 0%, 65%, 19%)
LABlab(79.9 -19.9 62.6)
LCHlch(79.9 65.7 107.7)
OKLCHoklch(0.820 0.154 113.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c5ce49 on white: 1.71:1
AA ✗ fail · AA-large · AAA
Aa
#c5ce49 on black: 12.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red77.3%
Green80.8%
Blue28.6%

CMYK percentages

Cyan4.4%
Magenta0.0%
Yellow64.6%
Key (black)19.2%

Color previews

#c5ce49 text on a black background

contrast 12.30:1

Card sample

#c5ce49 text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c5ce49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c5ce49 in the Color Lab