Skip to content

#cdcf65

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

RGB
205, 207, 101
HSL
61°, 53%, 60%
CMYK
1, 0, 51, 19
Luminance
0.5854

Every format

HEX#cdcf65
RGBrgb(205, 207, 101)
HSLhsl(61, 53%, 60%)
CMYKcmyk(1%, 0%, 51%, 19%)
LABlab(81.0 -15.1 51.8)
LCHlch(81.0 53.9 106.2)
OKLCHoklch(0.831 0.130 109.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#cdcf65 text on a black background

contrast 12.71:1

Card sample

#cdcf65 text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdcf65

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdcf65 in the Color Lab