Skip to content

#cdcd65

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

RGB
205, 205, 101
HSL
60°, 51%, 60%
CMYK
0, 0, 51, 20
Luminance
0.5758

Every format

HEX#cdcd65
RGBrgb(205, 205, 101)
HSLhsl(60, 51%, 60%)
CMYKcmyk(0%, 0%, 51%, 20%)
LABlab(80.5 -14.1 51.2)
LCHlch(80.5 53.1 105.4)
OKLCHoklch(0.827 0.127 108.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green80.4%
Blue39.6%

CMYK percentages

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

Color previews

#cdcd65 text on a black background

contrast 12.52:1

Card sample

#cdcd65 text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdcd65

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdcd65 in the Color Lab