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