#ccd564
a balanced, vivid yellow · cool · closest name: khaki
RGB
204, 213, 100
HSL
65°, 57%, 61%
CMYK
4, 0, 53, 17
Luminance
0.6135
Every format
| HEX | #ccd564 |
| RGB | rgb(204, 213, 100) |
| HSL | hsl(65, 57%, 61%) |
| CMYK | cmyk(4%, 0%, 53%, 17%) |
| LAB | lab(82.6 -18.6 54.0) |
| LCH | lch(82.6 57.1 109.0) |
| OKLCH | oklch(0.843 0.138 113.1) |
Copy-ready code
/* CSS */
color: #ccd564;
background-color: #ccd564;
/* Tailwind (arbitrary) */
class="text-[#ccd564] bg-[#ccd564]"
/* SCSS */
$brand: #ccd564;
/* SwiftUI */
Color(red: 0.800, green: 0.835, blue: 0.392)
/* Android */
Color.parseColor("#ccd564")Accessibility — WCAG contrast
Aa
#ccd564 on white: 1.58:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccd564 on black: 13.27:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green83.5%
Blue39.2%
CMYK percentages
Cyan4.2%
Magenta0.0%
Yellow53.1%
Key (black)16.5%
Color previews
#ccd564 text on a black background
contrast 13.27:1
Card sample
#ccd564 text on a white background
contrast 1.58:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccd564;
Background color
Panel with #ccd564 background
background-color: #ccd564;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccd564;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 213, 100, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 213, 100, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccd564; background: linear-gradient(135deg, #ccd564, #81D564);