Skip to content

#cfdc8f

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

RGB
207, 220, 143
HSL
70°, 52%, 71%
CMYK
6, 0, 35, 14
Luminance
0.6643

Every format

HEX#cfdc8f
RGBrgb(207, 220, 143)
HSLhsl(70, 52%, 71%)
CMYKcmyk(6%, 0%, 35%, 14%)
LABlab(85.2 -16.4 36.4)
LCHlch(85.2 40.0 114.3)
OKLCHoklch(0.867 0.100 116.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green86.3%
Blue56.1%

CMYK percentages

Cyan5.9%
Magenta0.0%
Yellow35.0%
Key (black)13.7%

Color previews

#cfdc8f text on a black background

contrast 14.29:1

Card sample

#cfdc8f text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfdc8f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdc8f in the Color Lab