Skip to content

#cfc800

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

RGB
207, 200, 0
HSL
58°, 100%, 41%
CMYK
0, 3, 100, 19
Luminance
0.5457

Every format

HEX#cfc800
RGBrgb(207, 200, 0)
HSLhsl(58, 100%, 41%)
CMYKcmyk(0%, 3%, 100%, 19%)
LABlab(78.8 -14.9 79.4)
LCHlch(78.8 80.8 100.7)
OKLCHoklch(0.812 0.174 107.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfc800 on white: 1.76:1
AA ✗ fail · AA-large · AAA
Aa
#cfc800 on black: 11.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green78.4%
Blue0.0%

CMYK percentages

Cyan0.0%
Magenta3.4%
Yellow100.0%
Key (black)18.8%

Color previews

#cfc800 text on a black background

contrast 11.91:1

Card sample

#cfc800 text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfc800

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfc800 in the Color Lab