Skip to content

#ccdb13

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

RGB
204, 219, 19
HSL
65°, 84%, 47%
CMYK
7, 0, 91, 14
Luminance
0.6355

Every format

HEX#ccdb13
RGBrgb(204, 219, 19)
HSLhsl(65, 84%, 47%)
CMYKcmyk(7%, 0%, 91%, 14%)
LABlab(83.7 -25.3 81.0)
LCHlch(83.7 84.9 107.3)
OKLCHoklch(0.851 0.190 114.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green85.9%
Blue7.5%

CMYK percentages

Cyan6.8%
Magenta0.0%
Yellow91.3%
Key (black)14.1%

Color previews

#ccdb13 text on a black background

contrast 13.71:1

Card sample

#ccdb13 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccdb13

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccdb13 in the Color Lab