Skip to content

#cdcb89

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

RGB
205, 203, 137
HSL
58°, 41%, 67%
CMYK
0, 1, 33, 20
Luminance
0.5750

Every format

HEX#cdcb89
RGBrgb(205, 203, 137)
HSLhsl(58, 41%, 67%)
CMYKcmyk(0%, 1%, 33%, 20%)
LABlab(80.5 -9.3 33.2)
LCHlch(80.5 34.5 105.7)
OKLCHoklch(0.828 0.086 106.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdcb89 on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#cdcb89 on black: 12.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green79.6%
Blue53.7%

CMYK percentages

Cyan0.0%
Magenta1.0%
Yellow33.2%
Key (black)19.6%

Color previews

#cdcb89 text on a black background

contrast 12.50:1

Card sample

#cdcb89 text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdcb89

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdcb89 in the Color Lab