Skip to content

#cfdf72

a light, vivid yellow · cool · closest name: khaki

RGB
207, 223, 114
HSL
69°, 63%, 66%
CMYK
7, 0, 49, 13
Luminance
0.6726

Every format

HEX#cfdf72
RGBrgb(207, 223, 114)
HSLhsl(69, 63%, 66%)
CMYKcmyk(7%, 0%, 49%, 13%)
LABlab(85.6 -21.0 51.2)
LCHlch(85.6 55.3 112.3)
OKLCHoklch(0.869 0.135 116.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfdf72 on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#cfdf72 on black: 14.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green87.5%
Blue44.7%

CMYK percentages

Cyan7.2%
Magenta0.0%
Yellow48.9%
Key (black)12.5%

Color previews

#cfdf72 text on a black background

contrast 14.45:1

Card sample

#cfdf72 text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfdf72

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdf72 in the Color Lab