Skip to content

#cfdf9f

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

RGB
207, 223, 159
HSL
75°, 50%, 75%
CMYK
7, 0, 29, 13
Luminance
0.6854

Every format

HEX#cfdf9f
RGBrgb(207, 223, 159)
HSLhsl(75, 50%, 75%)
CMYKcmyk(7%, 0%, 29%, 13%)
LABlab(86.3 -15.8 29.7)
LCHlch(86.3 33.6 118.1)
OKLCHoklch(0.876 0.086 119.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfdf9f on white: 1.43:1
AA ✗ fail · AA-large · AAA
Aa
#cfdf9f on black: 14.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green87.5%
Blue62.4%

CMYK percentages

Cyan7.2%
Magenta0.0%
Yellow28.7%
Key (black)12.5%

Color previews

#cfdf9f text on a black background

contrast 14.71:1

Card sample

#cfdf9f text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfdf9f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdf9f in the Color Lab