Skip to content

#c2f2aa

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

RGB
194, 242, 170
HSL
100°, 74%, 81%
CMYK
20, 0, 30, 5
Luminance
0.7788

Every format

HEX#c2f2aa
RGBrgb(194, 242, 170)
HSLhsl(100, 74%, 81%)
CMYKcmyk(20%, 0%, 30%, 5%)
LABlab(90.7 -28.1 29.9)
LCHlch(90.7 41.0 133.3)
OKLCHoklch(0.910 0.107 135.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red76.1%
Green94.9%
Blue66.7%

CMYK percentages

Cyan19.8%
Magenta0.0%
Yellow29.8%
Key (black)5.1%

Color previews

#c2f2aa text on a black background

contrast 16.58:1

Card sample

#c2f2aa text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2f2aa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2f2aa in the Color Lab