#c0bf13
a dark, electric yellow · cool · closest name: gold
RGB
192, 191, 19
HSL
60°, 82%, 41%
CMYK
0, 1, 90, 25
Luminance
0.4852
Every format
| HEX | #c0bf13 |
| RGB | rgb(192, 191, 19) |
| HSL | hsl(60, 82%, 41%) |
| CMYK | cmyk(0%, 1%, 90%, 25%) |
| LAB | lab(75.2 -16.7 73.9) |
| LCH | lch(75.2 75.8 102.7) |
| OKLCH | oklch(0.780 0.166 109.3) |
Copy-ready code
/* CSS */
color: #c0bf13;
background-color: #c0bf13;
/* Tailwind (arbitrary) */
class="text-[#c0bf13] bg-[#c0bf13]"
/* SCSS */
$brand: #c0bf13;
/* SwiftUI */
Color(red: 0.753, green: 0.749, blue: 0.075)
/* Android */
Color.parseColor("#c0bf13")Accessibility — WCAG contrast
Aa
#c0bf13 on white: 1.96:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c0bf13 on black: 10.70:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red75.3%
Green74.9%
Blue7.5%
CMYK percentages
Cyan0.0%
Magenta0.5%
Yellow90.1%
Key (black)24.7%
Color previews
#c0bf13 text on a black background
contrast 10.70:1
Card sample
#c0bf13 text on a white background
contrast 1.96:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c0bf13;
Background color
Panel with #c0bf13 background
background-color: #c0bf13;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c0bf13;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(192, 191, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(192, 191, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c0bf13; background: linear-gradient(135deg, #c0bf13, #4EC013);