Skip to content

#c2f1ac

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

RGB
194, 241, 172
HSL
101°, 71%, 81%
CMYK
20, 0, 29, 6
Luminance
0.7736

Every format

HEX#c2f1ac
RGBrgb(194, 241, 172)
HSLhsl(101, 71%, 81%)
CMYKcmyk(20%, 0%, 29%, 6%)
LABlab(90.5 -27.4 28.6)
LCHlch(90.5 39.5 133.8)
OKLCHoklch(0.908 0.103 135.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan19.5%
Magenta0.0%
Yellow28.6%
Key (black)5.5%

Color previews

#c2f1ac text on a black background

contrast 16.47:1

Card sample

#c2f1ac text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2f1ac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2f1ac in the Color Lab