Skip to content

#cdcf64

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

RGB
205, 207, 100
HSL
61°, 53%, 60%
CMYK
1, 0, 52, 19
Luminance
0.5852

Every format

HEX#cdcf64
RGBrgb(205, 207, 100)
HSLhsl(61, 53%, 60%)
CMYKcmyk(1%, 0%, 52%, 19%)
LABlab(81.0 -15.2 52.2)
LCHlch(81.0 54.4 106.2)
OKLCHoklch(0.831 0.130 109.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdcf64 on white: 1.65:1
AA ✗ fail · AA-large · AAA
Aa
#cdcf64 on black: 12.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green81.2%
Blue39.2%

CMYK percentages

Cyan1.0%
Magenta0.0%
Yellow51.7%
Key (black)18.8%

Color previews

#cdcf64 text on a black background

contrast 12.70:1

Card sample

#cdcf64 text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdcf64

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdcf64 in the Color Lab