Skip to content

#cfdd2c

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

RGB
207, 221, 44
HSL
65°, 72%, 52%
CMYK
6, 0, 80, 13
Luminance
0.6516

Every format

HEX#cfdd2c
RGBrgb(207, 221, 44)
HSLhsl(65, 72%, 52%)
CMYKcmyk(6%, 0%, 80%, 13%)
LABlab(84.6 -24.4 76.9)
LCHlch(84.6 80.7 107.6)
OKLCHoklch(0.859 0.183 114.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfdd2c on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#cfdd2c on black: 14.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green86.7%
Blue17.3%

CMYK percentages

Cyan6.3%
Magenta0.0%
Yellow80.1%
Key (black)13.3%

Color previews

#cfdd2c text on a black background

contrast 14.03:1

Card sample

#cfdd2c text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 221, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 221, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfdd2c;
background: linear-gradient(135deg, #cfdd2c, #59DD2C);

Monochromatic scale

Palettes built from #cfdd2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdd2c in the Color Lab