#c4b913
a dark, electric yellow · cool · closest name: gold
RGB
196, 185, 19
HSL
56°, 82%, 42%
CMYK
0, 6, 90, 23
Luminance
0.4648
Every format
| HEX | #c4b913 |
| RGB | rgb(196, 185, 19) |
| HSL | hsl(56, 82%, 42%) |
| CMYK | cmyk(0%, 6%, 90%, 23%) |
| LAB | lab(73.9 -11.9 73.1) |
| LCH | lch(73.9 74.0 99.2) |
| OKLCH | oklch(0.771 0.160 105.2) |
Copy-ready code
/* CSS */
color: #c4b913;
background-color: #c4b913;
/* Tailwind (arbitrary) */
class="text-[#c4b913] bg-[#c4b913]"
/* SCSS */
$brand: #c4b913;
/* SwiftUI */
Color(red: 0.769, green: 0.725, blue: 0.075)
/* Android */
Color.parseColor("#c4b913")Accessibility — WCAG contrast
Aa
#c4b913 on white: 2.04:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c4b913 on black: 10.30:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red76.9%
Green72.5%
Blue7.5%
CMYK percentages
Cyan0.0%
Magenta5.6%
Yellow90.3%
Key (black)23.1%
Color previews
#c4b913 text on a black background
contrast 10.30:1
Card sample
#c4b913 text on a white background
contrast 2.04:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c4b913;
Background color
Panel with #c4b913 background
background-color: #c4b913;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c4b913;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(196, 185, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(196, 185, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c4b913; background: linear-gradient(135deg, #c4b913, #59C413);