Skip to content

#c1cf49

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

RGB
193, 207, 73
HSL
66°, 58%, 55%
CMYK
7, 0, 65, 19
Luminance
0.5644

Every format

HEX#c1cf49
RGBrgb(193, 207, 73)
HSLhsl(66, 58%, 55%)
CMYKcmyk(7%, 0%, 65%, 19%)
LABlab(79.9 -22.1 62.5)
LCHlch(79.9 66.2 109.5)
OKLCHoklch(0.819 0.156 115.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red75.7%
Green81.2%
Blue28.6%

CMYK percentages

Cyan6.8%
Magenta0.0%
Yellow64.7%
Key (black)18.8%

Color previews

#c1cf49 text on a black background

contrast 12.29:1

Card sample

#c1cf49 text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c1cf49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c1cf49 in the Color Lab