Skip to content

#ccdf65

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

RGB
204, 223, 101
HSL
69°, 66%, 64%
CMYK
9, 0, 55, 13
Luminance
0.6655

Every format

HEX#ccdf65
RGBrgb(204, 223, 101)
HSLhsl(69, 66%, 64%)
CMYKcmyk(9%, 0%, 55%, 13%)
LABlab(85.3 -23.4 56.7)
LCHlch(85.3 61.3 112.4)
OKLCHoklch(0.865 0.148 117.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccdf65 on white: 1.47:1
AA ✗ fail · AA-large · AAA
Aa
#ccdf65 on black: 14.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green87.5%
Blue39.6%

CMYK percentages

Cyan8.5%
Magenta0.0%
Yellow54.7%
Key (black)12.5%

Color previews

#ccdf65 text on a black background

contrast 14.31:1

Card sample

#ccdf65 text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(204, 223, 101, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 223, 101, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccdf65;
background: linear-gradient(135deg, #ccdf65, #7BDF65);

Monochromatic scale

Palettes built from #ccdf65

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccdf65 in the Color Lab