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