Skip to content

#ccdf18

a balanced, electric yellow · cool · closest name: yellow

RGB
204, 223, 24
HSL
66°, 81%, 48%
CMYK
9, 0, 89, 13
Luminance
0.6568

Every format

HEX#ccdf18
RGBrgb(204, 223, 24)
HSLhsl(66, 81%, 48%)
CMYKcmyk(9%, 0%, 89%, 13%)
LABlab(84.8 -27.1 81.2)
LCHlch(84.8 85.6 108.5)
OKLCHoklch(0.860 0.193 115.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccdf18 on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#ccdf18 on black: 14.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green87.5%
Blue9.4%

CMYK percentages

Cyan8.5%
Magenta0.0%
Yellow89.2%
Key (black)12.5%

Color previews

#ccdf18 text on a black background

contrast 14.14:1

Card sample

#ccdf18 text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccdf18

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccdf18 in the Color Lab