#b2cf16
a dark, electric yellow · cool · closest name: yellow
RGB
178, 207, 22
HSL
69°, 81%, 45%
CMYK
14, 0, 89, 19
Luminance
0.5415
Every format
| HEX | #b2cf16 |
| RGB | rgb(178, 207, 22) |
| HSL | hsl(69, 81%, 45%) |
| CMYK | cmyk(14%, 0%, 89%, 19%) |
| LAB | lab(78.5 -30.3 75.7) |
| LCH | lch(78.5 81.5 111.8) |
| OKLCH | oklch(0.805 0.186 119.5) |
Copy-ready code
/* CSS */
color: #b2cf16;
background-color: #b2cf16;
/* Tailwind (arbitrary) */
class="text-[#b2cf16] bg-[#b2cf16]"
/* SCSS */
$brand: #b2cf16;
/* SwiftUI */
Color(red: 0.698, green: 0.812, blue: 0.086)
/* Android */
Color.parseColor("#b2cf16")Accessibility — WCAG contrast
Aa
#b2cf16 on white: 1.78:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b2cf16 on black: 11.83:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.8%
Green81.2%
Blue8.6%
CMYK percentages
Cyan14.0%
Magenta0.0%
Yellow89.4%
Key (black)18.8%
Color previews
#b2cf16 text on a black background
contrast 11.83:1
Card sample
#b2cf16 text on a white background
contrast 1.78:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b2cf16;
Background color
Panel with #b2cf16 background
background-color: #b2cf16;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b2cf16;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(178, 207, 22, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 207, 22, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2cf16; background: linear-gradient(135deg, #b2cf16, #37CF16);