Skip to content

#cfdf8f

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

RGB
207, 223, 143
HSL
72°, 56%, 72%
CMYK
7, 0, 36, 13
Luminance
0.6802

Every format

HEX#cfdf8f
RGBrgb(207, 223, 143)
HSLhsl(72, 56%, 72%)
CMYKcmyk(7%, 0%, 36%, 13%)
LABlab(86.0 -17.9 37.5)
LCHlch(86.0 41.5 115.5)
OKLCHoklch(0.873 0.104 117.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfdf8f on white: 1.44:1
AA ✗ fail · AA-large · AAA
Aa
#cfdf8f on black: 14.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green87.5%
Blue56.1%

CMYK percentages

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

Color previews

#cfdf8f text on a black background

contrast 14.60:1

Card sample

#cfdf8f text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfdf8f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdf8f in the Color Lab