#c0cf7c
a balanced, vivid green · cool · closest name: khaki
RGB
192, 207, 124
HSL
71°, 46%, 65%
CMYK
7, 0, 40, 19
Luminance
0.5729
Every format
| HEX | #c0cf7c |
| RGB | rgb(192, 207, 124) |
| HSL | hsl(71, 46%, 65%) |
| CMYK | cmyk(7%, 0%, 40%, 19%) |
| LAB | lab(80.3 -17.9 39.5) |
| LCH | lch(80.3 43.4 114.4) |
| OKLCH | oklch(0.824 0.108 117.2) |
Copy-ready code
/* CSS */
color: #c0cf7c;
background-color: #c0cf7c;
/* Tailwind (arbitrary) */
class="text-[#c0cf7c] bg-[#c0cf7c]"
/* SCSS */
$brand: #c0cf7c;
/* SwiftUI */
Color(red: 0.753, green: 0.812, blue: 0.486)
/* Android */
Color.parseColor("#c0cf7c")Accessibility — WCAG contrast
Aa
#c0cf7c on white: 1.69:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c0cf7c on black: 12.46:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red75.3%
Green81.2%
Blue48.6%
CMYK percentages
Cyan7.2%
Magenta0.0%
Yellow40.1%
Key (black)18.8%
Color previews
#c0cf7c text on a black background
contrast 12.46:1
Card sample
#c0cf7c text on a white background
contrast 1.69:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c0cf7c;
Background color
Panel with #c0cf7c background
background-color: #c0cf7c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c0cf7c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(192, 207, 124, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(192, 207, 124, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c0cf7c; background: linear-gradient(135deg, #c0cf7c, #89CF7C);