#ccc84d
a balanced, vivid yellow · cool · closest name: khaki
RGB
204, 200, 77
HSL
58°, 56%, 55%
CMYK
0, 2, 62, 20
Luminance
0.5468
Every format
| HEX | #ccc84d |
| RGB | rgb(204, 200, 77) |
| HSL | hsl(58, 56%, 55%) |
| CMYK | cmyk(0%, 2%, 62%, 20%) |
| LAB | lab(78.9 -13.8 60.0) |
| LCH | lch(78.9 61.6 102.9) |
| OKLCH | oklch(0.813 0.143 107.4) |
Copy-ready code
/* CSS */
color: #ccc84d;
background-color: #ccc84d;
/* Tailwind (arbitrary) */
class="text-[#ccc84d] bg-[#ccc84d]"
/* SCSS */
$brand: #ccc84d;
/* SwiftUI */
Color(red: 0.800, green: 0.784, blue: 0.302)
/* Android */
Color.parseColor("#ccc84d")Accessibility — WCAG contrast
Aa
#ccc84d on white: 1.76:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccc84d on black: 11.94:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green78.4%
Blue30.2%
CMYK percentages
Cyan0.0%
Magenta2.0%
Yellow62.3%
Key (black)20.0%
Color previews
#ccc84d text on a black background
contrast 11.94:1
Card sample
#ccc84d text on a white background
contrast 1.76:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccc84d;
Background color
Panel with #ccc84d background
background-color: #ccc84d;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccc84d;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 200, 77, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 200, 77, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccc84d; background: linear-gradient(135deg, #ccc84d, #7BCC4D);