#c2ecab
a light, vivid green · cool · closest name: khaki
RGB
194, 236, 171
HSL
99°, 63%, 80%
CMYK
18, 0, 28, 8
Luminance
0.7440
Every format
| HEX | #c2ecab |
| RGB | rgb(194, 236, 171) |
| HSL | hsl(99, 63%, 80%) |
| CMYK | cmyk(18%, 0%, 28%, 8%) |
| LAB | lab(89.1 -25.1 27.2) |
| LCH | lch(89.1 37.0 132.7) |
| OKLCH | oklch(0.897 0.097 134.8) |
Copy-ready code
/* CSS */
color: #c2ecab;
background-color: #c2ecab;
/* Tailwind (arbitrary) */
class="text-[#c2ecab] bg-[#c2ecab]"
/* SCSS */
$brand: #c2ecab;
/* SwiftUI */
Color(red: 0.761, green: 0.925, blue: 0.671)
/* Android */
Color.parseColor("#c2ecab")Accessibility — WCAG contrast
Aa
#c2ecab on white: 1.32:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c2ecab on black: 15.88:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red76.1%
Green92.5%
Blue67.1%
CMYK percentages
Cyan17.8%
Magenta0.0%
Yellow27.5%
Key (black)7.5%
Color previews
#c2ecab text on a black background
contrast 15.88:1
Card sample
#c2ecab text on a white background
contrast 1.32:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c2ecab;
Background color
Panel with #c2ecab background
background-color: #c2ecab;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c2ecab;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(194, 236, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 236, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2ecab; background: linear-gradient(135deg, #c2ecab, #ABECBF);