#c2cc98
a light, soft green · cool · closest name: tan
RGB
194, 204, 152
HSL
72°, 34%, 70%
CMYK
5, 0, 26, 20
Luminance
0.5692
Every format
| HEX | #c2cc98 |
| RGB | rgb(194, 204, 152) |
| HSL | hsl(72, 34%, 70%) |
| CMYK | cmyk(5%, 0%, 26%, 20%) |
| LAB | lab(80.1 -12.1 24.8) |
| LCH | lch(80.1 27.6 115.9) |
| OKLCH | oklch(0.825 0.070 116.8) |
Copy-ready code
/* CSS */
color: #c2cc98;
background-color: #c2cc98;
/* Tailwind (arbitrary) */
class="text-[#c2cc98] bg-[#c2cc98]"
/* SCSS */
$brand: #c2cc98;
/* SwiftUI */
Color(red: 0.761, green: 0.800, blue: 0.596)
/* Android */
Color.parseColor("#c2cc98")Accessibility — WCAG contrast
Aa
#c2cc98 on white: 1.70:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c2cc98 on black: 12.38:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red76.1%
Green80.0%
Blue59.6%
CMYK percentages
Cyan4.9%
Magenta0.0%
Yellow25.5%
Key (black)20.0%
Color previews
#c2cc98 text on a black background
contrast 12.38:1
Card sample
#c2cc98 text on a white background
contrast 1.70:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c2cc98;
Background color
Panel with #c2cc98 background
background-color: #c2cc98;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c2cc98;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(194, 204, 152, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 204, 152, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2cc98; background: linear-gradient(135deg, #c2cc98, #9FCC98);