#ccc53f
a balanced, vivid yellow · cool · closest name: khaki
RGB
204, 197, 63
HSL
57°, 58%, 52%
CMYK
0, 3, 69, 20
Luminance
0.5313
Every format
| HEX | #ccc53f |
| RGB | rgb(204, 197, 63) |
| HSL | hsl(57, 58%, 52%) |
| CMYK | cmyk(0%, 3%, 69%, 20%) |
| LAB | lab(78.0 -13.1 64.7) |
| LCH | lch(78.0 66.0 101.4) |
| OKLCH | oklch(0.805 0.150 106.4) |
Copy-ready code
/* CSS */
color: #ccc53f;
background-color: #ccc53f;
/* Tailwind (arbitrary) */
class="text-[#ccc53f] bg-[#ccc53f]"
/* SCSS */
$brand: #ccc53f;
/* SwiftUI */
Color(red: 0.800, green: 0.773, blue: 0.247)
/* Android */
Color.parseColor("#ccc53f")Accessibility — WCAG contrast
Aa
#ccc53f on white: 1.81:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccc53f on black: 11.63:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green77.3%
Blue24.7%
CMYK percentages
Cyan0.0%
Magenta3.4%
Yellow69.1%
Key (black)20.0%
Color previews
#ccc53f text on a black background
contrast 11.63:1
Card sample
#ccc53f text on a white background
contrast 1.81:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccc53f;
Background color
Panel with #ccc53f background
background-color: #ccc53f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccc53f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 197, 63, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 197, 63, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccc53f; background: linear-gradient(135deg, #ccc53f, #75CC3F);