Skip to content

#cdcb75

a balanced, vivid yellow · cool · closest name: khaki

RGB
205, 203, 117
HSL
59°, 47%, 63%
CMYK
0, 1, 43, 20
Luminance
0.5698

Every format

HEX#cdcb75
RGBrgb(205, 203, 117)
HSLhsl(59, 47%, 63%)
CMYKcmyk(0%, 1%, 43%, 20%)
LABlab(80.2 -11.6 43.0)
LCHlch(80.2 44.5 105.1)
OKLCHoklch(0.825 0.109 107.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdcb75 on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#cdcb75 on black: 12.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green79.6%
Blue45.9%

CMYK percentages

Cyan0.0%
Magenta1.0%
Yellow42.9%
Key (black)19.6%

Color previews

#cdcb75 text on a black background

contrast 12.40:1

Card sample

#cdcb75 text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdcb75

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdcb75 in the Color Lab