Skip to content

#ccdf4e

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

RGB
204, 223, 78
HSL
68°, 69%, 59%
CMYK
9, 0, 65, 13
Luminance
0.6616

Every format

HEX#ccdf4e
RGBrgb(204, 223, 78)
HSLhsl(68, 69%, 59%)
CMYKcmyk(9%, 0%, 65%, 13%)
LABlab(85.1 -25.0 66.2)
LCHlch(85.1 70.7 110.7)
OKLCHoklch(0.863 0.167 116.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green87.5%
Blue30.6%

CMYK percentages

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

Color previews

#ccdf4e text on a black background

contrast 14.23:1

Card sample

#ccdf4e text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccdf4e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccdf4e in the Color Lab