#ccdf7c
a light, vivid green · cool · closest name: khaki
RGB
204, 223, 124
HSL
72°, 61%, 68%
CMYK
9, 0, 44, 13
Luminance
0.6707
Every format
| HEX | #ccdf7c |
| RGB | rgb(204, 223, 124) |
| HSL | hsl(72, 61%, 68%) |
| CMYK | cmyk(9%, 0%, 44%, 13%) |
| LAB | lab(85.5 -21.2 46.2) |
| LCH | lch(85.5 50.8 114.6) |
| OKLCH | oklch(0.868 0.126 118.0) |
Copy-ready code
/* CSS */
color: #ccdf7c;
background-color: #ccdf7c;
/* Tailwind (arbitrary) */
class="text-[#ccdf7c] bg-[#ccdf7c]"
/* SCSS */
$brand: #ccdf7c;
/* SwiftUI */
Color(red: 0.800, green: 0.875, blue: 0.486)
/* Android */
Color.parseColor("#ccdf7c")Accessibility — WCAG contrast
Aa
#ccdf7c on white: 1.46:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccdf7c on black: 14.41:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green87.5%
Blue48.6%
CMYK percentages
Cyan8.5%
Magenta0.0%
Yellow44.4%
Key (black)12.5%
Color previews
#ccdf7c text on a black background
contrast 14.41:1
Card sample
#ccdf7c text on a white background
contrast 1.46:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccdf7c;
Background color
Panel with #ccdf7c background
background-color: #ccdf7c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccdf7c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 223, 124, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 223, 124, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccdf7c; background: linear-gradient(135deg, #ccdf7c, #8ADF7C);