#b1c01b
a dark, electric yellow · cool · closest name: olive
RGB
177, 192, 27
HSL
66°, 75%, 43%
CMYK
8, 0, 86, 25
Luminance
0.4713
Every format
| HEX | #b1c01b |
| RGB | rgb(177, 192, 27) |
| HSL | hsl(66, 75%, 43%) |
| CMYK | cmyk(8%, 0%, 86%, 25%) |
| LAB | lab(74.3 -23.4 71.3) |
| LCH | lch(74.3 75.0 108.2) |
| OKLCH | oklch(0.770 0.169 115.4) |
Copy-ready code
/* CSS */
color: #b1c01b;
background-color: #b1c01b;
/* Tailwind (arbitrary) */
class="text-[#b1c01b] bg-[#b1c01b]"
/* SCSS */
$brand: #b1c01b;
/* SwiftUI */
Color(red: 0.694, green: 0.753, blue: 0.106)
/* Android */
Color.parseColor("#b1c01b")Accessibility — WCAG contrast
Aa
#b1c01b on white: 2.01:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b1c01b on black: 10.43:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.4%
Green75.3%
Blue10.6%
CMYK percentages
Cyan7.8%
Magenta0.0%
Yellow85.9%
Key (black)24.7%
Color previews
#b1c01b text on a black background
contrast 10.43:1
Card sample
#b1c01b text on a white background
contrast 2.01:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b1c01b;
Background color
Panel with #b1c01b background
background-color: #b1c01b;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b1c01b;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(177, 192, 27, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(177, 192, 27, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b1c01b; background: linear-gradient(135deg, #b1c01b, #43C01B);