Skip to content

#cfdf14

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

RGB
207, 223, 20
HSL
65°, 84%, 48%
CMYK
7, 0, 91, 13
Luminance
0.6609

Every format

HEX#cfdf14
RGBrgb(207, 223, 20)
HSLhsl(65, 84%, 48%)
CMYKcmyk(7%, 0%, 91%, 13%)
LABlab(85.0 -25.9 82.0)
LCHlch(85.0 86.0 107.6)
OKLCHoklch(0.862 0.192 114.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green87.5%
Blue7.8%

CMYK percentages

Cyan7.2%
Magenta0.0%
Yellow91.0%
Key (black)12.5%

Color previews

#cfdf14 text on a black background

contrast 14.22:1

Card sample

#cfdf14 text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfdf14

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdf14 in the Color Lab