Skip to content

#cdcba2

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

RGB
205, 203, 162
HSL
57°, 30%, 72%
CMYK
0, 1, 21, 20
Luminance
0.5830

Every format

HEX#cdcba2
RGBrgb(205, 203, 162)
HSLhsl(57, 30%, 72%)
CMYKcmyk(0%, 1%, 21%, 20%)
LABlab(80.9 -6.0 20.8)
LCHlch(80.9 21.6 106.1)
OKLCHoklch(0.833 0.055 105.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdcba2 on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#cdcba2 on black: 12.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green79.6%
Blue63.5%

CMYK percentages

Cyan0.0%
Magenta1.0%
Yellow21.0%
Key (black)19.6%

Color previews

#cdcba2 text on a black background

contrast 12.66:1

Card sample

#cdcba2 text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdcba2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdcba2 in the Color Lab