Skip to content

#cfdf80

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

RGB
207, 223, 128
HSL
70°, 60%, 69%
CMYK
7, 0, 43, 13
Luminance
0.6760

Every format

HEX#cfdf80
RGBrgb(207, 223, 128)
HSLhsl(70, 60%, 69%)
CMYKcmyk(7%, 0%, 43%, 13%)
LABlab(85.8 -19.6 44.6)
LCHlch(85.8 48.8 113.7)
OKLCHoklch(0.871 0.121 116.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green87.5%
Blue50.2%

CMYK percentages

Cyan7.2%
Magenta0.0%
Yellow42.6%
Key (black)12.5%

Color previews

#cfdf80 text on a black background

contrast 14.52:1

Card sample

#cfdf80 text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfdf80

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdf80 in the Color Lab