Skip to content

#ccdf6b

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

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

Every format

HEX#ccdf6b
RGBrgb(204, 223, 107)
HSLhsl(70, 64%, 65%)
CMYKcmyk(9%, 0%, 52%, 13%)
LABlab(85.3 -22.8 54.0)
LCHlch(85.3 58.6 112.9)
OKLCHoklch(0.866 0.143 117.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#ccdf6b text on a black background

contrast 14.33:1

Card sample

#ccdf6b text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccdf6b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccdf6b in the Color Lab