Skip to content

#cdcba8

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

RGB
205, 203, 168
HSL
57°, 27%, 73%
CMYK
0, 1, 18, 20
Luminance
0.5852

Every format

HEX#cdcba8
RGBrgb(205, 203, 168)
HSLhsl(57, 27%, 73%)
CMYKcmyk(0%, 1%, 18%, 20%)
LABlab(81.0 -5.1 17.8)
LCHlch(81.0 18.5 106.1)
OKLCHoklch(0.835 0.047 104.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdcba8 on white: 1.65:1
AA ✗ fail · AA-large · AAA
Aa
#cdcba8 on black: 12.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green79.6%
Blue65.9%

CMYK percentages

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

Color previews

#cdcba8 text on a black background

contrast 12.70:1

Card sample

#cdcba8 text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdcba8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdcba8 in the Color Lab