Skip to content

#c2df6f

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

RGB
194, 223, 111
HSL
76°, 64%, 66%
CMYK
13, 0, 50, 13
Luminance
0.6539

Every format

HEX#c2df6f
RGBrgb(194, 223, 111)
HSLhsl(76, 64%, 66%)
CMYKcmyk(13%, 0%, 50%, 13%)
LABlab(84.7 -26.4 51.2)
LCHlch(84.7 57.6 117.2)
OKLCHoklch(0.859 0.142 121.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red76.1%
Green87.5%
Blue43.5%

CMYK percentages

Cyan13.0%
Magenta0.0%
Yellow50.2%
Key (black)12.5%

Color previews

#c2df6f text on a black background

contrast 14.08:1

Card sample

#c2df6f text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2df6f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2df6f in the Color Lab