Skip to content

#ccdf6c

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

RGB
204, 223, 108
HSL
70°, 64%, 65%
CMYK
9, 0, 52, 13
Luminance
0.6670

Every format

HEX#ccdf6c
RGBrgb(204, 223, 108)
HSLhsl(70, 64%, 65%)
CMYKcmyk(9%, 0%, 52%, 13%)
LABlab(85.3 -22.8 53.6)
LCHlch(85.3 58.2 113.0)
OKLCHoklch(0.866 0.142 117.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccdf6c on white: 1.46:1
AA ✗ fail · AA-large · AAA
Aa
#ccdf6c on black: 14.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green87.5%
Blue42.4%

CMYK percentages

Cyan8.5%
Magenta0.0%
Yellow51.6%
Key (black)12.5%

Color previews

#ccdf6c text on a black background

contrast 14.34:1

Card sample

#ccdf6c text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccdf6c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccdf6c in the Color Lab