Skip to content

#ccce21

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

RGB
204, 206, 33
HSL
61°, 72%, 47%
CMYK
1, 0, 84, 19
Luminance
0.5709

Every format

HEX#ccce21
RGBrgb(204, 206, 33)
HSLhsl(61, 72%, 47%)
CMYKcmyk(1%, 0%, 84%, 19%)
LABlab(80.2 -18.7 75.8)
LCHlch(80.2 78.0 103.9)
OKLCHoklch(0.823 0.173 110.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccce21 on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#ccce21 on black: 12.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green80.8%
Blue12.9%

CMYK percentages

Cyan1.0%
Magenta0.0%
Yellow84.0%
Key (black)19.2%

Color previews

#ccce21 text on a black background

contrast 12.42:1

Card sample

#ccce21 text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccce21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccce21 in the Color Lab