#b1ba13
a dark, electric yellow · cool · closest name: olive
RGB
177, 186, 19
HSL
63°, 82%, 40%
CMYK
5, 0, 90, 27
Luminance
0.4451
Every format
| HEX | #b1ba13 |
| RGB | rgb(177, 186, 19) |
| HSL | hsl(63, 82%, 40%) |
| CMYK | cmyk(5%, 0%, 90%, 27%) |
| LAB | lab(72.6 -20.6 71.4) |
| LCH | lch(72.6 74.3 106.1) |
| OKLCH | oklch(0.756 0.166 113.2) |
Copy-ready code
/* CSS */
color: #b1ba13;
background-color: #b1ba13;
/* Tailwind (arbitrary) */
class="text-[#b1ba13] bg-[#b1ba13]"
/* SCSS */
$brand: #b1ba13;
/* SwiftUI */
Color(red: 0.694, green: 0.729, blue: 0.075)
/* Android */
Color.parseColor("#b1ba13")Accessibility — WCAG contrast
Aa
#b1ba13 on white: 2.12:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b1ba13 on black: 9.90:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.4%
Green72.9%
Blue7.5%
CMYK percentages
Cyan4.8%
Magenta0.0%
Yellow89.8%
Key (black)27.1%
Color previews
#b1ba13 text on a black background
contrast 9.90:1
Card sample
#b1ba13 text on a white background
contrast 2.12:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b1ba13;
Background color
Panel with #b1ba13 background
background-color: #b1ba13;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b1ba13;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(177, 186, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(177, 186, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b1ba13; background: linear-gradient(135deg, #b1ba13, #42BA13);