Skip to content

#ccdb39

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

RGB
204, 219, 57
HSL
66°, 69%, 54%
CMYK
7, 0, 74, 14
Luminance
0.6380

Every format

HEX#ccdb39
RGBrgb(204, 219, 57)
HSLhsl(66, 69%, 54%)
CMYKcmyk(7%, 0%, 74%, 14%)
LABlab(83.9 -24.2 72.5)
LCHlch(83.9 76.4 108.5)
OKLCHoklch(0.853 0.176 114.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccdb39 on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#ccdb39 on black: 13.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green85.9%
Blue22.4%

CMYK percentages

Cyan6.8%
Magenta0.0%
Yellow74.0%
Key (black)14.1%

Color previews

#ccdb39 text on a black background

contrast 13.76:1

Card sample

#ccdb39 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(204, 219, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 219, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccdb39;
background: linear-gradient(135deg, #ccdb39, #60DB39);

Monochromatic scale

Palettes built from #ccdb39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccdb39 in the Color Lab