Skip to content

#c2f2ac

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

RGB
194, 242, 172
HSL
101°, 73%, 81%
CMYK
20, 0, 29, 5
Luminance
0.7795

Every format

HEX#c2f2ac
RGBrgb(194, 242, 172)
HSLhsl(101, 73%, 81%)
CMYKcmyk(20%, 0%, 29%, 5%)
LABlab(90.8 -27.8 28.9)
LCHlch(90.8 40.1 133.9)
OKLCHoklch(0.910 0.105 136.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red76.1%
Green94.9%
Blue67.5%

CMYK percentages

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

Color previews

#c2f2ac text on a black background

contrast 16.59:1

Card sample

#c2f2ac text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2f2ac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2f2ac in the Color Lab