#b7c310
a dark, electric yellow · cool · closest name: gold
RGB
183, 195, 16
HSL
64°, 85%, 41%
CMYK
6, 0, 92, 24
Luminance
0.4913
Every format
| HEX | #b7c310 |
| RGB | rgb(183, 195, 16) |
| HSL | hsl(64, 85%, 41%) |
| CMYK | cmyk(6%, 0%, 92%, 24%) |
| LAB | lab(75.5 -22.6 74.4) |
| LCH | lch(75.5 77.7 106.9) |
| OKLCH | oklch(0.781 0.173 114.2) |
Copy-ready code
/* CSS */
color: #b7c310;
background-color: #b7c310;
/* Tailwind (arbitrary) */
class="text-[#b7c310] bg-[#b7c310]"
/* SCSS */
$brand: #b7c310;
/* SwiftUI */
Color(red: 0.718, green: 0.765, blue: 0.063)
/* Android */
Color.parseColor("#b7c310")Accessibility — WCAG contrast
Aa
#b7c310 on white: 1.94:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b7c310 on black: 10.83:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red71.8%
Green76.5%
Blue6.3%
CMYK percentages
Cyan6.2%
Magenta0.0%
Yellow91.8%
Key (black)23.5%
Color previews
#b7c310 text on a black background
contrast 10.83:1
Card sample
#b7c310 text on a white background
contrast 1.94:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b7c310;
Background color
Panel with #b7c310 background
background-color: #b7c310;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b7c310;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(183, 195, 16, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(183, 195, 16, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b7c310; background: linear-gradient(135deg, #b7c310, #40C310);