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