Skip to content

#cfdf17

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

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

Every format

HEX#cfdf17
RGBrgb(207, 223, 23)
HSLhsl(65, 81%, 48%)
CMYKcmyk(7%, 0%, 90%, 13%)
LABlab(85.0 -25.9 81.6)
LCHlch(85.0 85.6 107.6)
OKLCHoklch(0.862 0.192 114.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green87.5%
Blue9.0%

CMYK percentages

Cyan7.2%
Magenta0.0%
Yellow89.7%
Key (black)12.5%

Color previews

#cfdf17 text on a black background

contrast 14.22:1

Card sample

#cfdf17 text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfdf17

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdf17 in the Color Lab