Skip to content

#ccdf2b

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

RGB
204, 223, 43
HSL
66°, 74%, 52%
CMYK
9, 0, 81, 13
Luminance
0.6579

Every format

HEX#ccdf2b
RGBrgb(204, 223, 43)
HSLhsl(66, 74%, 52%)
CMYKcmyk(9%, 0%, 81%, 13%)
LABlab(84.9 -26.6 77.4)
LCHlch(84.9 81.8 109.0)
OKLCHoklch(0.861 0.186 116.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green87.5%
Blue16.9%

CMYK percentages

Cyan8.5%
Magenta0.0%
Yellow80.7%
Key (black)12.5%

Color previews

#ccdf2b text on a black background

contrast 14.16:1

Card sample

#ccdf2b text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccdf2b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccdf2b in the Color Lab