Skip to content

#cdcf9d

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

RGB
205, 207, 157
HSL
62°, 34%, 71%
CMYK
1, 0, 24, 19
Luminance
0.6004

Every format

HEX#cdcf9d
RGBrgb(205, 207, 157)
HSLhsl(62, 34%, 71%)
CMYKcmyk(1%, 0%, 24%, 19%)
LABlab(81.9 -8.8 24.7)
LCHlch(81.9 26.2 109.6)
OKLCHoklch(0.841 0.066 109.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdcf9d on white: 1.61:1
AA ✗ fail · AA-large · AAA
Aa
#cdcf9d on black: 13.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green81.2%
Blue61.6%

CMYK percentages

Cyan1.0%
Magenta0.0%
Yellow24.2%
Key (black)18.8%

Color previews

#cdcf9d text on a black background

contrast 13.01:1

Card sample

#cdcf9d text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdcf9d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdcf9d in the Color Lab