#b4c310
a dark, electric yellow · cool · closest name: gold
RGB
180, 195, 16
HSL
65°, 85%, 41%
CMYK
8, 0, 92, 24
Luminance
0.4877
Every format
| HEX | #b4c310 |
| RGB | rgb(180, 195, 16) |
| HSL | hsl(65, 85%, 41%) |
| CMYK | cmyk(8%, 0%, 92%, 24%) |
| LAB | lab(75.3 -23.8 74.1) |
| LCH | lch(75.3 77.8 107.8) |
| OKLCH | oklch(0.779 0.174 115.3) |
Copy-ready code
/* CSS */
color: #b4c310;
background-color: #b4c310;
/* Tailwind (arbitrary) */
class="text-[#b4c310] bg-[#b4c310]"
/* SCSS */
$brand: #b4c310;
/* SwiftUI */
Color(red: 0.706, green: 0.765, blue: 0.063)
/* Android */
Color.parseColor("#b4c310")Accessibility — WCAG contrast
Aa
#b4c310 on white: 1.95:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b4c310 on black: 10.75:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red70.6%
Green76.5%
Blue6.3%
CMYK percentages
Cyan7.7%
Magenta0.0%
Yellow91.8%
Key (black)23.5%
Color previews
#b4c310 text on a black background
contrast 10.75:1
Card sample
#b4c310 text on a white background
contrast 1.95:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b4c310;
Background color
Panel with #b4c310 background
background-color: #b4c310;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b4c310;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(180, 195, 16, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(180, 195, 16, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b4c310; background: linear-gradient(135deg, #b4c310, #3DC310);