Skip to content

#ccdf4c

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

RGB
204, 223, 76
HSL
68°, 70%, 59%
CMYK
9, 0, 66, 13
Luminance
0.6613

Every format

HEX#ccdf4c
RGBrgb(204, 223, 76)
HSLhsl(68, 70%, 59%)
CMYKcmyk(9%, 0%, 66%, 13%)
LABlab(85.1 -25.1 66.9)
LCHlch(85.1 71.5 110.6)
OKLCHoklch(0.863 0.169 116.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccdf4c on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#ccdf4c on black: 14.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green87.5%
Blue29.8%

CMYK percentages

Cyan8.5%
Magenta0.0%
Yellow65.9%
Key (black)12.5%

Color previews

#ccdf4c text on a black background

contrast 14.23:1

Card sample

#ccdf4c text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccdf4c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccdf4c in the Color Lab