Skip to content

#ccdf3b

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

RGB
204, 223, 59
HSL
67°, 72%, 55%
CMYK
9, 0, 74, 13
Luminance
0.6593

Every format

HEX#ccdf3b
RGBrgb(204, 223, 59)
HSLhsl(67, 72%, 55%)
CMYKcmyk(9%, 0%, 74%, 13%)
LABlab(85.0 -26.0 72.8)
LCHlch(85.0 77.3 109.7)
OKLCHoklch(0.861 0.179 116.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green87.5%
Blue23.1%

CMYK percentages

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

Color previews

#ccdf3b text on a black background

contrast 14.19:1

Card sample

#ccdf3b text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccdf3b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccdf3b in the Color Lab