#c0cb13
a dark, electric yellow · cool · closest name: gold
RGB
192, 203, 19
HSL
64°, 83%, 44%
CMYK
5, 0, 91, 20
Luminance
0.5397
Every format
| HEX | #c0cb13 |
| RGB | rgb(192, 203, 19) |
| HSL | hsl(64, 83%, 44%) |
| CMYK | cmyk(5%, 0%, 91%, 20%) |
| LAB | lab(78.4 -22.6 76.5) |
| LCH | lch(78.4 79.8 106.5) |
| OKLCH | oklch(0.806 0.178 113.7) |
Copy-ready code
/* CSS */
color: #c0cb13;
background-color: #c0cb13;
/* Tailwind (arbitrary) */
class="text-[#c0cb13] bg-[#c0cb13]"
/* SCSS */
$brand: #c0cb13;
/* SwiftUI */
Color(red: 0.753, green: 0.796, blue: 0.075)
/* Android */
Color.parseColor("#c0cb13")Accessibility — WCAG contrast
Aa
#c0cb13 on white: 1.78:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c0cb13 on black: 11.79:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red75.3%
Green79.6%
Blue7.5%
CMYK percentages
Cyan5.4%
Magenta0.0%
Yellow90.6%
Key (black)20.4%
Color previews
#c0cb13 text on a black background
contrast 11.79:1
Card sample
#c0cb13 text on a white background
contrast 1.78:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c0cb13;
Background color
Panel with #c0cb13 background
background-color: #c0cb13;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c0cb13;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(192, 203, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(192, 203, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c0cb13; background: linear-gradient(135deg, #c0cb13, #45CB13);