Skip to content

#c7ecac

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

RGB
199, 236, 172
HSL
95°, 63%, 80%
CMYK
16, 0, 27, 8
Luminance
0.7511

Every format

HEX#c7ecac
RGBrgb(199, 236, 172)
HSLhsl(95, 63%, 80%)
CMYKcmyk(16%, 0%, 27%, 8%)
LABlab(89.4 -23.2 27.2)
LCHlch(89.4 35.8 130.5)
OKLCHoklch(0.901 0.093 132.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c7ecac on white: 1.31:1
AA ✗ fail · AA-large · AAA
Aa
#c7ecac on black: 16.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.0%
Green92.5%
Blue67.5%

CMYK percentages

Cyan15.7%
Magenta0.0%
Yellow27.1%
Key (black)7.5%

Color previews

#c7ecac text on a black background

contrast 16.02:1

Card sample

#c7ecac text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(199, 236, 172, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(199, 236, 172, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c7ecac;
background: linear-gradient(135deg, #c7ecac, #ACECBC);

Monochromatic scale

Palettes built from #c7ecac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c7ecac in the Color Lab