Skip to content

#cfdf16

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

RGB
207, 223, 22
HSL
65°, 82%, 48%
CMYK
7, 0, 90, 13
Luminance
0.6610

Every format

HEX#cfdf16
RGBrgb(207, 223, 22)
HSLhsl(65, 82%, 48%)
CMYKcmyk(7%, 0%, 90%, 13%)
LABlab(85.0 -25.9 81.7)
LCHlch(85.0 85.8 107.6)
OKLCHoklch(0.862 0.192 114.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green87.5%
Blue8.6%

CMYK percentages

Cyan7.2%
Magenta0.0%
Yellow90.1%
Key (black)12.5%

Color previews

#cfdf16 text on a black background

contrast 14.22:1

Card sample

#cfdf16 text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfdf16

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdf16 in the Color Lab