Skip to content

#ccdf5f

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

RGB
204, 223, 95
HSL
69°, 67%, 62%
CMYK
9, 0, 57, 13
Luminance
0.6644

Every format

HEX#ccdf5f
RGBrgb(204, 223, 95)
HSLhsl(69, 67%, 62%)
CMYKcmyk(9%, 0%, 57%, 13%)
LABlab(85.2 -23.8 59.3)
LCHlch(85.2 63.9 111.9)
OKLCHoklch(0.864 0.154 116.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccdf5f on white: 1.47:1
AA ✗ fail · AA-large · AAA
Aa
#ccdf5f on black: 14.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green87.5%
Blue37.3%

CMYK percentages

Cyan8.5%
Magenta0.0%
Yellow57.4%
Key (black)12.5%

Color previews

#ccdf5f text on a black background

contrast 14.29:1

Card sample

#ccdf5f text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccdf5f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccdf5f in the Color Lab