Skip to content

#ccdf64

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

RGB
204, 223, 100
HSL
69°, 66%, 63%
CMYK
9, 0, 55, 13
Luminance
0.6653

Every format

HEX#ccdf64
RGBrgb(204, 223, 100)
HSLhsl(69, 66%, 63%)
CMYKcmyk(9%, 0%, 55%, 13%)
LABlab(85.3 -23.4 57.1)
LCHlch(85.3 61.7 112.3)
OKLCHoklch(0.865 0.149 117.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green87.5%
Blue39.2%

CMYK percentages

Cyan8.5%
Magenta0.0%
Yellow55.2%
Key (black)12.5%

Color previews

#ccdf64 text on a black background

contrast 14.31:1

Card sample

#ccdf64 text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccdf64

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccdf64 in the Color Lab