Skip to content

#c2ac80

a balanced, soft yellow · warm · closest name: tan

RGB
194, 172, 128
HSL
40°, 35%, 63%
CMYK
0, 11, 34, 24
Luminance
0.4253

Every format

HEX#c2ac80
RGBrgb(194, 172, 128)
HSLhsl(40, 35%, 63%)
CMYKcmyk(0%, 11%, 34%, 24%)
LABlab(71.2 1.4 25.6)
LCHlch(71.2 25.6 86.8)
OKLCHoklch(0.753 0.064 84.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2ac80 on white: 2.21:1
AA ✗ fail · AA-large · AAA
Aa
#c2ac80 on black: 9.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green67.5%
Blue50.2%

CMYK percentages

Cyan0.0%
Magenta11.3%
Yellow34.0%
Key (black)23.9%

Color previews

#c2ac80 text on a black background

contrast 9.51:1

Card sample

#c2ac80 text on a white background

contrast 2.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2ac80

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2ac80 in the Color Lab