#ccce49
a balanced, vivid yellow · cool · closest name: khaki
RGB
204, 206, 73
HSL
61°, 58%, 55%
CMYK
1, 0, 65, 19
Luminance
0.5746
Every format
| HEX | #ccce49 |
| RGB | rgb(204, 206, 73) |
| HSL | hsl(61, 58%, 55%) |
| CMYK | cmyk(1%, 0%, 65%, 19%) |
| LAB | lab(80.4 -17.0 63.3) |
| LCH | lch(80.4 65.6 105.0) |
| OKLCH | oklch(0.826 0.152 110.1) |
Copy-ready code
/* CSS */
color: #ccce49;
background-color: #ccce49;
/* Tailwind (arbitrary) */
class="text-[#ccce49] bg-[#ccce49]"
/* SCSS */
$brand: #ccce49;
/* SwiftUI */
Color(red: 0.800, green: 0.808, blue: 0.286)
/* Android */
Color.parseColor("#ccce49")Accessibility — WCAG contrast
Aa
#ccce49 on white: 1.68:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccce49 on black: 12.49:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green80.8%
Blue28.6%
CMYK percentages
Cyan1.0%
Magenta0.0%
Yellow64.6%
Key (black)19.2%
Color previews
#ccce49 text on a black background
contrast 12.49:1
Card sample
#ccce49 text on a white background
contrast 1.68:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccce49;
Background color
Panel with #ccce49 background
background-color: #ccce49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccce49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 206, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 206, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccce49; background: linear-gradient(135deg, #ccce49, #73CE49);