Skip to content

#c2ac55

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

RGB
194, 172, 85
HSL
48°, 47%, 55%
CMYK
0, 11, 56, 24
Luminance
0.4163

Every format

HEX#c2ac55
RGBrgb(194, 172, 85)
HSLhsl(48, 47%, 55%)
CMYKcmyk(0%, 11%, 56%, 24%)
LABlab(70.6 -2.9 47.0)
LCHlch(70.6 47.1 93.6)
OKLCHoklch(0.746 0.110 95.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2ac55 on white: 2.25:1
AA ✗ fail · AA-large · AAA
Aa
#c2ac55 on black: 9.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green67.5%
Blue33.3%

CMYK percentages

Cyan0.0%
Magenta11.3%
Yellow56.2%
Key (black)23.9%

Color previews

#c2ac55 text on a black background

contrast 9.33:1

Card sample

#c2ac55 text on a white background

contrast 2.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(194, 172, 85, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 172, 85, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2ac55;
background: linear-gradient(135deg, #c2ac55, #8FC255);

Monochromatic scale

Palettes built from #c2ac55

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2ac55 in the Color Lab