Skip to content

#cdcf80

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

RGB
205, 207, 128
HSL
62°, 45%, 66%
CMYK
1, 0, 38, 19
Luminance
0.5916

Every format

HEX#cdcf80
RGBrgb(205, 207, 128)
HSLhsl(62, 45%, 66%)
CMYKcmyk(1%, 0%, 38%, 19%)
LABlab(81.4 -12.4 39.0)
LCHlch(81.4 41.0 107.7)
OKLCHoklch(0.835 0.101 109.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdcf80 on white: 1.64:1
AA ✗ fail · AA-large · AAA
Aa
#cdcf80 on black: 12.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green81.2%
Blue50.2%

CMYK percentages

Cyan1.0%
Magenta0.0%
Yellow38.2%
Key (black)18.8%

Color previews

#cdcf80 text on a black background

contrast 12.83:1

Card sample

#cdcf80 text on a white background

contrast 1.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 207, 128, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 207, 128, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdcf80;
background: linear-gradient(135deg, #cdcf80, #98CF80);

Monochromatic scale

Palettes built from #cdcf80

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdcf80 in the Color Lab