Skip to content

#ccdf26

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

RGB
204, 223, 38
HSL
66°, 74%, 51%
CMYK
9, 0, 83, 13
Luminance
0.6575

Every format

HEX#ccdf26
RGBrgb(204, 223, 38)
HSLhsl(66, 74%, 51%)
CMYKcmyk(9%, 0%, 83%, 13%)
LABlab(84.9 -26.8 78.5)
LCHlch(84.9 83.0 108.8)
OKLCHoklch(0.860 0.188 116.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green87.5%
Blue14.9%

CMYK percentages

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

Color previews

#ccdf26 text on a black background

contrast 14.15:1

Card sample

#ccdf26 text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccdf26

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccdf26 in the Color Lab