Skip to content

#cccc39

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

RGB
204, 204, 57
HSL
60°, 59%, 51%
CMYK
0, 0, 72, 20
Luminance
0.5632

Every format

HEX#cccc39
RGBrgb(204, 204, 57)
HSLhsl(60, 59%, 51%)
CMYKcmyk(0%, 0%, 72%, 20%)
LABlab(79.8 -16.9 68.6)
LCHlch(79.8 70.7 103.8)
OKLCHoklch(0.820 0.161 109.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cccc39 on white: 1.71:1
AA ✗ fail · AA-large · AAA
Aa
#cccc39 on black: 12.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green80.0%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow72.1%
Key (black)20.0%

Color previews

#cccc39 text on a black background

contrast 12.26:1

Card sample

#cccc39 text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cccc39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cccc39 in the Color Lab