Skip to content

#c5df9f

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

RGB
197, 223, 159
HSL
84°, 50%, 75%
CMYK
12, 0, 29, 13
Luminance
0.6715

Every format

HEX#c5df9f
RGBrgb(197, 223, 159)
HSLhsl(84, 50%, 75%)
CMYKcmyk(12%, 0%, 29%, 13%)
LABlab(85.6 -19.5 28.6)
LCHlch(85.6 34.6 124.3)
OKLCHoklch(0.869 0.089 126.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red77.3%
Green87.5%
Blue62.4%

CMYK percentages

Cyan11.7%
Magenta0.0%
Yellow28.7%
Key (black)12.5%

Color previews

#c5df9f text on a black background

contrast 14.43:1

Card sample

#c5df9f text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c5df9f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c5df9f in the Color Lab