Skip to content

#cccf0d

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

RGB
204, 207, 13
HSL
61°, 88%, 43%
CMYK
1, 0, 94, 19
Luminance
0.5749

Every format

HEX#cccf0d
RGBrgb(204, 207, 13)
HSLhsl(61, 88%, 43%)
CMYKcmyk(1%, 0%, 94%, 19%)
LABlab(80.5 -19.6 79.2)
LCHlch(80.5 81.6 103.9)
OKLCHoklch(0.825 0.179 110.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green81.2%
Blue5.1%

CMYK percentages

Cyan1.4%
Magenta0.0%
Yellow93.7%
Key (black)18.8%

Color previews

#cccf0d text on a black background

contrast 12.50:1

Card sample

#cccf0d text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cccf0d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cccf0d in the Color Lab