Skip to content

#cdcd75

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

RGB
205, 205, 117
HSL
60°, 47%, 63%
CMYK
0, 0, 43, 20
Luminance
0.5793

Every format

HEX#cdcd75
RGBrgb(205, 205, 117)
HSLhsl(60, 47%, 63%)
CMYKcmyk(0%, 0%, 43%, 20%)
LABlab(80.7 -12.6 43.7)
LCHlch(80.7 45.5 106.1)
OKLCHoklch(0.829 0.111 108.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdcd75 on white: 1.67:1
AA ✗ fail · AA-large · AAA
Aa
#cdcd75 on black: 12.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green80.4%
Blue45.9%

CMYK percentages

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

Color previews

#cdcd75 text on a black background

contrast 12.59:1

Card sample

#cdcd75 text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdcd75

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdcd75 in the Color Lab