Skip to content

#ccdf4d

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

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

Every format

HEX#ccdf4d
RGBrgb(204, 223, 77)
HSLhsl(68, 70%, 59%)
CMYKcmyk(9%, 0%, 66%, 13%)
LABlab(85.1 -25.1 66.5)
LCHlch(85.1 71.1 110.6)
OKLCHoklch(0.863 0.168 116.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green87.5%
Blue30.2%

CMYK percentages

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

Color previews

#ccdf4d text on a black background

contrast 14.23:1

Card sample

#ccdf4d text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccdf4d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccdf4d in the Color Lab