Skip to content

#cdcda2

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

RGB
205, 205, 162
HSL
60°, 30%, 72%
CMYK
0, 0, 21, 20
Luminance
0.5925

Every format

HEX#cdcda2
RGBrgb(205, 205, 162)
HSLhsl(60, 30%, 72%)
CMYKcmyk(0%, 0%, 21%, 20%)
LABlab(81.4 -7.0 21.5)
LCHlch(81.4 22.6 108.1)
OKLCHoklch(0.837 0.057 107.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green80.4%
Blue63.5%

CMYK percentages

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

Color previews

#cdcda2 text on a black background

contrast 12.85:1

Card sample

#cdcda2 text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdcda2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdcda2 in the Color Lab