Skip to content

#c2af89

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

RGB
194, 175, 137
HSL
40°, 32%, 65%
CMYK
0, 10, 29, 24
Luminance
0.4394

Every format

HEX#c2af89
RGBrgb(194, 175, 137)
HSLhsl(40, 32%, 65%)
CMYKcmyk(0%, 10%, 29%, 24%)
LABlab(72.2 1.0 22.0)
LCHlch(72.2 22.0 87.4)
OKLCHoklch(0.761 0.056 84.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2af89 on white: 2.15:1
AA ✗ fail · AA-large · AAA
Aa
#c2af89 on black: 9.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green68.6%
Blue53.7%

CMYK percentages

Cyan0.0%
Magenta9.8%
Yellow29.4%
Key (black)23.9%

Color previews

#c2af89 text on a black background

contrast 9.79:1

Card sample

#c2af89 text on a white background

contrast 2.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2af89

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2af89 in the Color Lab