Skip to content

#cdcb65

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

RGB
205, 203, 101
HSL
59°, 51%, 60%
CMYK
0, 1, 51, 20
Luminance
0.5663

Every format

HEX#cdcb65
RGBrgb(205, 203, 101)
HSLhsl(59, 51%, 60%)
CMYKcmyk(0%, 1%, 51%, 20%)
LABlab(80.0 -13.1 50.5)
LCHlch(80.0 52.2 104.5)
OKLCHoklch(0.823 0.125 107.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdcb65 on white: 1.70:1
AA ✗ fail · AA-large · AAA
Aa
#cdcb65 on black: 12.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green79.6%
Blue39.6%

CMYK percentages

Cyan0.0%
Magenta1.0%
Yellow50.7%
Key (black)19.6%

Color previews

#cdcb65 text on a black background

contrast 12.33:1

Card sample

#cdcb65 text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdcb65

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdcb65 in the Color Lab