Skip to content

#cfdf9c

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

RGB
207, 223, 156
HSL
74°, 51%, 74%
CMYK
7, 0, 30, 13
Luminance
0.6844

Every format

HEX#cfdf9c
RGBrgb(207, 223, 156)
HSLhsl(74, 51%, 74%)
CMYKcmyk(7%, 0%, 30%, 13%)
LABlab(86.2 -16.2 31.1)
LCHlch(86.2 35.1 117.6)
OKLCHoklch(0.875 0.089 119.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green87.5%
Blue61.2%

CMYK percentages

Cyan7.2%
Magenta0.0%
Yellow30.0%
Key (black)12.5%

Color previews

#cfdf9c text on a black background

contrast 14.69:1

Card sample

#cfdf9c text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfdf9c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdf9c in the Color Lab