Skip to content

#cfdf05

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

RGB
207, 223, 5
HSL
64°, 96%, 45%
CMYK
7, 0, 98, 13
Luminance
0.6605

Every format

HEX#cfdf05
RGBrgb(207, 223, 5)
HSLhsl(64, 96%, 45%)
CMYKcmyk(7%, 0%, 98%, 13%)
LABlab(85.0 -26.1 83.5)
LCHlch(85.0 87.5 107.4)
OKLCHoklch(0.862 0.195 114.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfdf05 on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#cfdf05 on black: 14.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green87.5%
Blue2.0%

CMYK percentages

Cyan7.2%
Magenta0.0%
Yellow97.8%
Key (black)12.5%

Color previews

#cfdf05 text on a black background

contrast 14.21:1

Card sample

#cfdf05 text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfdf05

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdf05 in the Color Lab