Skip to content

#cfcc01

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

RGB
207, 204, 1
HSL
59°, 99%, 41%
CMYK
0, 1, 100, 19
Luminance
0.5645

Every format

HEX#cfcc01
RGBrgb(207, 204, 1)
HSLhsl(59, 99%, 41%)
CMYKcmyk(0%, 1%, 100%, 19%)
LABlab(79.9 -16.9 80.0)
LCHlch(79.9 81.8 101.9)
OKLCHoklch(0.821 0.177 108.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green80.0%
Blue0.4%

CMYK percentages

Cyan0.0%
Magenta1.4%
Yellow99.5%
Key (black)18.8%

Color previews

#cfcc01 text on a black background

contrast 12.29:1

Card sample

#cfcc01 text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfcc01

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfcc01 in the Color Lab