#b2bf13
a dark, electric yellow · cool · closest name: gold
RGB
178, 191, 19
HSL
65°, 82%, 41%
CMYK
7, 0, 90, 25
Luminance
0.4677
Every format
| HEX | #b2bf13 |
| RGB | rgb(178, 191, 19) |
| HSL | hsl(65, 82%, 41%) |
| CMYK | cmyk(7%, 0%, 90%, 25%) |
| LAB | lab(74.0 -22.7 72.6) |
| LCH | lch(74.0 76.0 107.4) |
| OKLCH | oklch(0.768 0.170 114.6) |
Copy-ready code
/* CSS */
color: #b2bf13;
background-color: #b2bf13;
/* Tailwind (arbitrary) */
class="text-[#b2bf13] bg-[#b2bf13]"
/* SCSS */
$brand: #b2bf13;
/* SwiftUI */
Color(red: 0.698, green: 0.749, blue: 0.075)
/* Android */
Color.parseColor("#b2bf13")Accessibility — WCAG contrast
Aa
#b2bf13 on white: 2.03:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b2bf13 on black: 10.35:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.8%
Green74.9%
Blue7.5%
CMYK percentages
Cyan6.8%
Magenta0.0%
Yellow90.1%
Key (black)25.1%
Color previews
#b2bf13 text on a black background
contrast 10.35:1
Card sample
#b2bf13 text on a white background
contrast 2.03:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b2bf13;
Background color
Panel with #b2bf13 background
background-color: #b2bf13;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b2bf13;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(178, 191, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 191, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2bf13; background: linear-gradient(135deg, #b2bf13, #3FBF13);