#c2b113
a dark, electric yellow · cool · closest name: gold
RGB
194, 177, 19
HSL
54°, 82%, 42%
CMYK
0, 9, 90, 24
Luminance
0.4296
Every format
| HEX | #c2b113 |
| RGB | rgb(194, 177, 19) |
| HSL | hsl(54, 82%, 42%) |
| CMYK | cmyk(0%, 9%, 90%, 24%) |
| LAB | lab(71.5 -8.7 71.2) |
| LCH | lch(71.5 71.7 96.9) |
| OKLCH | oklch(0.752 0.154 102.3) |
Copy-ready code
/* CSS */
color: #c2b113;
background-color: #c2b113;
/* Tailwind (arbitrary) */
class="text-[#c2b113] bg-[#c2b113]"
/* SCSS */
$brand: #c2b113;
/* SwiftUI */
Color(red: 0.761, green: 0.694, blue: 0.075)
/* Android */
Color.parseColor("#c2b113")Accessibility — WCAG contrast
Aa
#c2b113 on white: 2.19:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c2b113 on black: 9.59:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red76.1%
Green69.4%
Blue7.5%
CMYK percentages
Cyan0.0%
Magenta8.8%
Yellow90.2%
Key (black)23.9%
Color previews
#c2b113 text on a black background
contrast 9.59:1
Card sample
#c2b113 text on a white background
contrast 2.19:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c2b113;
Background color
Panel with #c2b113 background
background-color: #c2b113;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c2b113;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(194, 177, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 177, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2b113; background: linear-gradient(135deg, #c2b113, #5EC213);