Skip to content

#c2ba80

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

RGB
194, 186, 128
HSL
53°, 35%, 63%
CMYK
0, 4, 34, 24
Luminance
0.4815

Every format

HEX#c2ba80
RGBrgb(194, 186, 128)
HSLhsl(53, 35%, 63%)
CMYKcmyk(0%, 4%, 34%, 24%)
LABlab(74.9 -6.0 30.5)
LCHlch(74.9 31.1 101.1)
OKLCHoklch(0.782 0.077 101.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red76.1%
Green72.9%
Blue50.2%

CMYK percentages

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

Color previews

#c2ba80 text on a black background

contrast 10.63:1

Card sample

#c2ba80 text on a white background

contrast 1.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2ba80

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2ba80 in the Color Lab