#c3b310
a dark, electric yellow · cool · closest name: gold
RGB
195, 179, 16
HSL
55°, 85%, 41%
CMYK
0, 8, 92, 24
Luminance
0.4388
Every format
| HEX | #c3b310 |
| RGB | rgb(195, 179, 16) |
| HSL | hsl(55, 85%, 41%) |
| CMYK | cmyk(0%, 8%, 92%, 24%) |
| LAB | lab(72.2 -9.3 72.2) |
| LCH | lch(72.2 72.8 97.3) |
| OKLCH | oklch(0.757 0.156 102.9) |
Copy-ready code
/* CSS */
color: #c3b310;
background-color: #c3b310;
/* Tailwind (arbitrary) */
class="text-[#c3b310] bg-[#c3b310]"
/* SCSS */
$brand: #c3b310;
/* SwiftUI */
Color(red: 0.765, green: 0.702, blue: 0.063)
/* Android */
Color.parseColor("#c3b310")Accessibility — WCAG contrast
Aa
#c3b310 on white: 2.15:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c3b310 on black: 9.78:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red76.5%
Green70.2%
Blue6.3%
CMYK percentages
Cyan0.0%
Magenta8.2%
Yellow91.8%
Key (black)23.5%
Color previews
#c3b310 text on a black background
contrast 9.78:1
Card sample
#c3b310 text on a white background
contrast 2.15:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c3b310;
Background color
Panel with #c3b310 background
background-color: #c3b310;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c3b310;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(195, 179, 16, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(195, 179, 16, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c3b310; background: linear-gradient(135deg, #c3b310, #5CC310);