Skip to content

#c0c080

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

RGB
192, 192, 128
HSL
60°, 34%, 63%
CMYK
0, 0, 33, 25
Luminance
0.5046

Every format

HEX#c0c080
RGBrgb(192, 192, 128)
HSLhsl(60, 34%, 63%)
CMYKcmyk(0%, 0%, 33%, 25%)
LABlab(76.3 -9.9 32.3)
LCHlch(76.3 33.8 107.0)
OKLCHoklch(0.793 0.084 108.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c0c080 on white: 1.89:1
AA ✗ fail · AA-large · AAA
Aa
#c0c080 on black: 11.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.3%
Green75.3%
Blue50.2%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow33.3%
Key (black)24.7%

Color previews

#c0c080 text on a black background

contrast 11.09:1

Card sample

#c0c080 text on a white background

contrast 1.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c0c080

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c0c080 in the Color Lab