Skip to content

#cbc080

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

RGB
203, 192, 128
HSL
51°, 42%, 65%
CMYK
0, 5, 37, 20
Luminance
0.5195

Every format

HEX#cbc080
RGBrgb(203, 192, 128)
HSLhsl(51, 42%, 65%)
CMYKcmyk(0%, 5%, 37%, 20%)
LABlab(77.3 -5.5 33.7)
LCHlch(77.3 34.1 99.3)
OKLCHoklch(0.802 0.084 99.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbc080 on white: 1.84:1
AA ✗ fail · AA-large · AAA
Aa
#cbc080 on black: 11.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green75.3%
Blue50.2%

CMYK percentages

Cyan0.0%
Magenta5.4%
Yellow36.9%
Key (black)20.4%

Color previews

#cbc080 text on a black background

contrast 11.39:1

Card sample

#cbc080 text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbc080

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbc080 in the Color Lab