#ccc22b
a balanced, vivid yellow · cool · closest name: gold
RGB
204, 194, 43
HSL
56°, 65%, 48%
CMYK
0, 5, 79, 20
Luminance
0.5160
Every format
| HEX | #ccc22b |
| RGB | rgb(204, 194, 43) |
| HSL | hsl(56, 65%, 48%) |
| CMYK | cmyk(0%, 5%, 79%, 20%) |
| LAB | lab(77.0 -12.4 70.5) |
| LCH | lch(77.0 71.6 100.0) |
| OKLCH | oklch(0.798 0.159 105.4) |
Copy-ready code
/* CSS */
color: #ccc22b;
background-color: #ccc22b;
/* Tailwind (arbitrary) */
class="text-[#ccc22b] bg-[#ccc22b]"
/* SCSS */
$brand: #ccc22b;
/* SwiftUI */
Color(red: 0.800, green: 0.761, blue: 0.169)
/* Android */
Color.parseColor("#ccc22b")Accessibility — WCAG contrast
Aa
#ccc22b on white: 1.86:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccc22b on black: 11.32:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green76.1%
Blue16.9%
CMYK percentages
Cyan0.0%
Magenta4.9%
Yellow78.9%
Key (black)20.0%
Color previews
#ccc22b text on a black background
contrast 11.32:1
Card sample
#ccc22b text on a white background
contrast 1.86:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccc22b;
Background color
Panel with #ccc22b background
background-color: #ccc22b;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccc22b;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 194, 43, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 194, 43, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccc22b; background: linear-gradient(135deg, #ccc22b, #6BCC2B);