#b7c511
a dark, electric yellow · cool · closest name: gold
RGB
183, 197, 17
HSL
65°, 84%, 42%
CMYK
7, 0, 91, 23
Luminance
0.5004
Every format
| HEX | #b7c511 |
| RGB | rgb(183, 197, 17) |
| HSL | hsl(65, 84%, 42%) |
| CMYK | cmyk(7%, 0%, 91%, 23%) |
| LAB | lab(76.1 -23.5 74.7) |
| LCH | lch(76.1 78.3 107.5) |
| OKLCH | oklch(0.786 0.175 114.9) |
Copy-ready code
/* CSS */
color: #b7c511;
background-color: #b7c511;
/* Tailwind (arbitrary) */
class="text-[#b7c511] bg-[#b7c511]"
/* SCSS */
$brand: #b7c511;
/* SwiftUI */
Color(red: 0.718, green: 0.773, blue: 0.067)
/* Android */
Color.parseColor("#b7c511")Accessibility — WCAG contrast
Aa
#b7c511 on white: 1.91:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b7c511 on black: 11.01:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red71.8%
Green77.3%
Blue6.7%
CMYK percentages
Cyan7.1%
Magenta0.0%
Yellow91.4%
Key (black)22.7%
Color previews
#b7c511 text on a black background
contrast 11.01:1
Card sample
#b7c511 text on a white background
contrast 1.91:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b7c511;
Background color
Panel with #b7c511 background
background-color: #b7c511;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b7c511;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(183, 197, 17, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(183, 197, 17, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b7c511; background: linear-gradient(135deg, #b7c511, #3FC511);