Skip to content

#c2f2ad

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

RGB
194, 242, 173
HSL
102°, 73%, 81%
CMYK
20, 0, 29, 5
Luminance
0.7799

Every format

HEX#c2f2ad
RGBrgb(194, 242, 173)
HSLhsl(102, 73%, 81%)
CMYKcmyk(20%, 0%, 29%, 5%)
LABlab(90.8 -27.7 28.4)
LCHlch(90.8 39.7 134.2)
OKLCHoklch(0.911 0.104 136.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2f2ad on white: 1.27:1
AA ✗ fail · AA-large · AAA
Aa
#c2f2ad on black: 16.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green94.9%
Blue67.8%

CMYK percentages

Cyan19.8%
Magenta0.0%
Yellow28.5%
Key (black)5.1%

Color previews

#c2f2ad text on a black background

contrast 16.60:1

Card sample

#c2f2ad text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(194, 242, 173, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 242, 173, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2f2ad;
background: linear-gradient(135deg, #c2f2ad, #ADF2C6);

Monochromatic scale

Palettes built from #c2f2ad

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2f2ad in the Color Lab