#c0af14
a dark, electric yellow · cool · closest name: olive
RGB
192, 175, 20
HSL
54°, 81%, 42%
CMYK
0, 9, 90, 25
Luminance
0.4192
Every format
| HEX | #c0af14 |
| RGB | rgb(192, 175, 20) |
| HSL | hsl(54, 81%, 42%) |
| CMYK | cmyk(0%, 9%, 90%, 25%) |
| LAB | lab(70.8 -8.5 70.4) |
| LCH | lch(70.8 70.9 96.9) |
| OKLCH | oklch(0.746 0.153 102.2) |
Copy-ready code
/* CSS */
color: #c0af14;
background-color: #c0af14;
/* Tailwind (arbitrary) */
class="text-[#c0af14] bg-[#c0af14]"
/* SCSS */
$brand: #c0af14;
/* SwiftUI */
Color(red: 0.753, green: 0.686, blue: 0.078)
/* Android */
Color.parseColor("#c0af14")Accessibility — WCAG contrast
Aa
#c0af14 on white: 2.24:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c0af14 on black: 9.38:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red75.3%
Green68.6%
Blue7.8%
CMYK percentages
Cyan0.0%
Magenta8.9%
Yellow89.6%
Key (black)24.7%
Color previews
#c0af14 text on a black background
contrast 9.38:1
Card sample
#c0af14 text on a white background
contrast 2.24:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c0af14;
Background color
Panel with #c0af14 background
background-color: #c0af14;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c0af14;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(192, 175, 20, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(192, 175, 20, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c0af14; background: linear-gradient(135deg, #c0af14, #5EC014);