Skip to content

#c2df6a

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

RGB
194, 223, 106
HSL
75°, 65%, 65%
CMYK
13, 0, 53, 13
Luminance
0.6529

Every format

HEX#c2df6a
RGBrgb(194, 223, 106)
HSLhsl(75, 65%, 65%)
CMYKcmyk(13%, 0%, 53%, 13%)
LABlab(84.6 -26.8 53.5)
LCHlch(84.6 59.8 116.6)
OKLCHoklch(0.858 0.147 121.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2df6a on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#c2df6a on black: 14.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green87.5%
Blue41.6%

CMYK percentages

Cyan13.0%
Magenta0.0%
Yellow52.5%
Key (black)12.5%

Color previews

#c2df6a text on a black background

contrast 14.06:1

Card sample

#c2df6a text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(194, 223, 106, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 223, 106, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2df6a;
background: linear-gradient(135deg, #c2df6a, #74DF6A);

Monochromatic scale

Palettes built from #c2df6a

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2df6a in the Color Lab