#ccc73f
a balanced, vivid yellow · cool · closest name: khaki
RGB
204, 199, 63
HSL
58°, 58%, 52%
CMYK
0, 3, 69, 20
Luminance
0.5404
Every format
| HEX | #ccc73f |
| RGB | rgb(204, 199, 63) |
| HSL | hsl(58, 58%, 52%) |
| CMYK | cmyk(0%, 3%, 69%, 20%) |
| LAB | lab(78.5 -14.1 65.2) |
| LCH | lch(78.5 66.7 102.2) |
| OKLCH | oklch(0.810 0.152 107.3) |
Copy-ready code
/* CSS */
color: #ccc73f;
background-color: #ccc73f;
/* Tailwind (arbitrary) */
class="text-[#ccc73f] bg-[#ccc73f]"
/* SCSS */
$brand: #ccc73f;
/* SwiftUI */
Color(red: 0.800, green: 0.780, blue: 0.247)
/* Android */
Color.parseColor("#ccc73f")Accessibility — WCAG contrast
Aa
#ccc73f on white: 1.78:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccc73f on black: 11.81:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green78.0%
Blue24.7%
CMYK percentages
Cyan0.0%
Magenta2.5%
Yellow69.1%
Key (black)20.0%
Color previews
#ccc73f text on a black background
contrast 11.81:1
Card sample
#ccc73f text on a white background
contrast 1.78:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccc73f;
Background color
Panel with #ccc73f background
background-color: #ccc73f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccc73f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 199, 63, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 199, 63, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccc73f; background: linear-gradient(135deg, #ccc73f, #73CC3F);