#c3b511
a dark, electric yellow · cool · closest name: gold
RGB
195, 181, 17
HSL
55°, 84%, 42%
CMYK
0, 7, 91, 24
Luminance
0.4469
Every format
| HEX | #c3b511 |
| RGB | rgb(195, 181, 17) |
| HSL | hsl(55, 84%, 42%) |
| CMYK | cmyk(0%, 7%, 91%, 24%) |
| LAB | lab(72.7 -10.3 72.4) |
| LCH | lch(72.7 73.2 98.1) |
| OKLCH | oklch(0.761 0.158 103.8) |
Copy-ready code
/* CSS */
color: #c3b511;
background-color: #c3b511;
/* Tailwind (arbitrary) */
class="text-[#c3b511] bg-[#c3b511]"
/* SCSS */
$brand: #c3b511;
/* SwiftUI */
Color(red: 0.765, green: 0.710, blue: 0.067)
/* Android */
Color.parseColor("#c3b511")Accessibility — WCAG contrast
Aa
#c3b511 on white: 2.11:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c3b511 on black: 9.94:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red76.5%
Green71.0%
Blue6.7%
CMYK percentages
Cyan0.0%
Magenta7.2%
Yellow91.3%
Key (black)23.5%
Color previews
#c3b511 text on a black background
contrast 9.94:1
Card sample
#c3b511 text on a white background
contrast 2.11:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c3b511;
Background color
Panel with #c3b511 background
background-color: #c3b511;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c3b511;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(195, 181, 17, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(195, 181, 17, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c3b511; background: linear-gradient(135deg, #c3b511, #5AC311);