Skip to content

#cfdf45

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

RGB
207, 223, 69
HSL
66°, 71%, 57%
CMYK
7, 0, 69, 13
Luminance
0.6647

Every format

HEX#cfdf45
RGBrgb(207, 223, 69)
HSLhsl(66, 71%, 57%)
CMYKcmyk(7%, 0%, 69%, 13%)
LABlab(85.2 -24.3 69.8)
LCHlch(85.2 73.9 109.2)
OKLCHoklch(0.864 0.172 115.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfdf45 on white: 1.47:1
AA ✗ fail · AA-large · AAA
Aa
#cfdf45 on black: 14.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green87.5%
Blue27.1%

CMYK percentages

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

Color previews

#cfdf45 text on a black background

contrast 14.29:1

Card sample

#cfdf45 text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfdf45

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdf45 in the Color Lab