Skip to content

#c2e2af

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

RGB
194, 226, 175
HSL
98°, 47%, 79%
CMYK
14, 0, 23, 11
Luminance
0.6896

Every format

HEX#c2e2af
RGBrgb(194, 226, 175)
HSLhsl(98, 47%, 79%)
CMYKcmyk(14%, 0%, 23%, 11%)
LABlab(86.5 -19.6 21.5)
LCHlch(86.5 29.1 132.4)
OKLCHoklch(0.876 0.076 134.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2e2af on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#c2e2af on black: 14.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green88.6%
Blue68.6%

CMYK percentages

Cyan14.2%
Magenta0.0%
Yellow22.6%
Key (black)11.4%

Color previews

#c2e2af text on a black background

contrast 14.79:1

Card sample

#c2e2af text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2e2af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2e2af in the Color Lab