Skip to content

#cccf13

a dark, electric yellow · cool · closest name: gold

RGB
204, 207, 19
HSL
61°, 83%, 44%
CMYK
1, 0, 91, 19
Luminance
0.5751

Every format

HEX#cccf13
RGBrgb(204, 207, 19)
HSLhsl(61, 83%, 44%)
CMYKcmyk(1%, 0%, 91%, 19%)
LABlab(80.5 -19.5 78.5)
LCHlch(80.5 80.9 103.9)
OKLCHoklch(0.825 0.178 110.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cccf13 on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#cccf13 on black: 12.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green81.2%
Blue7.5%

CMYK percentages

Cyan1.4%
Magenta0.0%
Yellow90.8%
Key (black)18.8%

Color previews

#cccf13 text on a black background

contrast 12.50:1

Card sample

#cccf13 text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cccf13

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cccf13 in the Color Lab