Skip to content

#cdcda8

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

RGB
205, 205, 168
HSL
60°, 27%, 73%
CMYK
0, 0, 18, 20
Luminance
0.5947

Every format

HEX#cdcda8
RGBrgb(205, 205, 168)
HSLhsl(60, 27%, 73%)
CMYKcmyk(0%, 0%, 18%, 20%)
LABlab(81.5 -6.2 18.5)
LCHlch(81.5 19.5 108.4)
OKLCHoklch(0.839 0.050 107.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdcda8 on white: 1.63:1
AA ✗ fail · AA-large · AAA
Aa
#cdcda8 on black: 12.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green80.4%
Blue65.9%

CMYK percentages

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

Color previews

#cdcda8 text on a black background

contrast 12.89:1

Card sample

#cdcda8 text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdcda8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdcda8 in the Color Lab