#c7af13
a dark, electric yellow · cool · closest name: gold
RGB
199, 175, 19
HSL
52°, 83%, 43%
CMYK
0, 12, 91, 22
Luminance
0.4285
Every format
| HEX | #c7af13 |
| RGB | rgb(199, 175, 19) |
| HSL | hsl(52, 83%, 43%) |
| CMYK | cmyk(0%, 12%, 91%, 22%) |
| LAB | lab(71.5 -5.4 71.3) |
| LCH | lch(71.5 71.5 94.3) |
| OKLCH | oklch(0.752 0.153 99.1) |
Copy-ready code
/* CSS */
color: #c7af13;
background-color: #c7af13;
/* Tailwind (arbitrary) */
class="text-[#c7af13] bg-[#c7af13]"
/* SCSS */
$brand: #c7af13;
/* SwiftUI */
Color(red: 0.780, green: 0.686, blue: 0.075)
/* Android */
Color.parseColor("#c7af13")Accessibility — WCAG contrast
Aa
#c7af13 on white: 2.19:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c7af13 on black: 9.57:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red78.0%
Green68.6%
Blue7.5%
CMYK percentages
Cyan0.0%
Magenta12.1%
Yellow90.5%
Key (black)22.0%
Color previews
#c7af13 text on a black background
contrast 9.57:1
Card sample
#c7af13 text on a white background
contrast 2.19:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c7af13;
Background color
Panel with #c7af13 background
background-color: #c7af13;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c7af13;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(199, 175, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(199, 175, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c7af13; background: linear-gradient(135deg, #c7af13, #67C713);