#ccdf98
a light, vivid green · cool · closest name: khaki
RGB
204, 223, 152
HSL
76°, 53%, 74%
CMYK
9, 0, 32, 13
Luminance
0.6788
Every format
| HEX | #ccdf98 |
| RGB | rgb(204, 223, 152) |
| HSL | hsl(76, 53%, 74%) |
| CMYK | cmyk(9%, 0%, 32%, 13%) |
| LAB | lab(86.0 -17.9 32.8) |
| LCH | lch(86.0 37.3 118.6) |
| OKLCH | oklch(0.873 0.095 120.6) |
Copy-ready code
/* CSS */
color: #ccdf98;
background-color: #ccdf98;
/* Tailwind (arbitrary) */
class="text-[#ccdf98] bg-[#ccdf98]"
/* SCSS */
$brand: #ccdf98;
/* SwiftUI */
Color(red: 0.800, green: 0.875, blue: 0.596)
/* Android */
Color.parseColor("#ccdf98")Accessibility — WCAG contrast
Aa
#ccdf98 on white: 1.44:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccdf98 on black: 14.58:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green87.5%
Blue59.6%
CMYK percentages
Cyan8.5%
Magenta0.0%
Yellow31.8%
Key (black)12.5%
Color previews
#ccdf98 text on a black background
contrast 14.58:1
Card sample
#ccdf98 text on a white background
contrast 1.44:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccdf98;
Background color
Panel with #ccdf98 background
background-color: #ccdf98;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccdf98;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 223, 152, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 223, 152, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccdf98; background: linear-gradient(135deg, #ccdf98, #9DDF98);