Skip to content

#cbcba2

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

RGB
203, 203, 162
HSL
60°, 28%, 72%
CMYK
0, 0, 20, 20
Luminance
0.5802

Every format

HEX#cbcba2
RGBrgb(203, 203, 162)
HSLhsl(60, 28%, 72%)
CMYKcmyk(0%, 0%, 20%, 20%)
LABlab(80.8 -6.8 20.5)
LCHlch(80.8 21.6 108.2)
OKLCHoklch(0.832 0.055 107.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbcba2 on white: 1.67:1
AA ✗ fail · AA-large · AAA
Aa
#cbcba2 on black: 12.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green79.6%
Blue63.5%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow20.2%
Key (black)20.4%

Color previews

#cbcba2 text on a black background

contrast 12.60:1

Card sample

#cbcba2 text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbcba2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbcba2 in the Color Lab