Skip to content

#cfdc9f

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

RGB
207, 220, 159
HSL
73°, 47%, 74%
CMYK
6, 0, 28, 14
Luminance
0.6696

Every format

HEX#cfdc9f
RGBrgb(207, 220, 159)
HSLhsl(73, 47%, 74%)
CMYKcmyk(6%, 0%, 28%, 14%)
LABlab(85.5 -14.3 28.6)
LCHlch(85.5 32.0 116.6)
OKLCHoklch(0.870 0.081 117.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfdc9f on white: 1.46:1
AA ✗ fail · AA-large · AAA
Aa
#cfdc9f on black: 14.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green86.3%
Blue62.4%

CMYK percentages

Cyan5.9%
Magenta0.0%
Yellow27.7%
Key (black)13.7%

Color previews

#cfdc9f text on a black background

contrast 14.39:1

Card sample

#cfdc9f text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfdc9f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdc9f in the Color Lab