Skip to content

#c2ba7c

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

RGB
194, 186, 124
HSL
53°, 37%, 62%
CMYK
0, 4, 36, 24
Luminance
0.4804

Every format

HEX#c2ba7c
RGBrgb(194, 186, 124)
HSLhsl(53, 37%, 62%)
CMYKcmyk(0%, 4%, 36%, 24%)
LABlab(74.8 -6.5 32.5)
LCHlch(74.8 33.1 101.2)
OKLCHoklch(0.781 0.082 101.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2ba7c on white: 1.98:1
AA ✗ fail · AA-large · AAA
Aa
#c2ba7c on black: 10.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green72.9%
Blue48.6%

CMYK percentages

Cyan0.0%
Magenta4.1%
Yellow36.1%
Key (black)23.9%

Color previews

#c2ba7c text on a black background

contrast 10.61:1

Card sample

#c2ba7c text on a white background

contrast 1.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(194, 186, 124, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 186, 124, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2ba7c;
background: linear-gradient(135deg, #c2ba7c, #9CC27C);

Monochromatic scale

Palettes built from #c2ba7c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2ba7c in the Color Lab