Skip to content

#cfdc0d

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

RGB
207, 220, 13
HSL
64°, 89%, 46%
CMYK
6, 0, 94, 14
Luminance
0.6448

Every format

HEX#cfdc0d
RGBrgb(207, 220, 13)
HSLhsl(64, 89%, 46%)
CMYKcmyk(6%, 0%, 94%, 14%)
LABlab(84.2 -24.6 82.2)
LCHlch(84.2 85.8 106.7)
OKLCHoklch(0.856 0.191 114.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfdc0d on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#cfdc0d on black: 13.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green86.3%
Blue5.1%

CMYK percentages

Cyan5.9%
Magenta0.0%
Yellow94.1%
Key (black)13.7%

Color previews

#cfdc0d text on a black background

contrast 13.90:1

Card sample

#cfdc0d text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 220, 13, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 220, 13, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfdc0d;
background: linear-gradient(135deg, #cfdc0d, #45DC0D);

Monochromatic scale

Palettes built from #cfdc0d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdc0d in the Color Lab