#b2cf28
a balanced, vivid green · cool · closest name: yellow
RGB
178, 207, 40
HSL
70°, 68%, 48%
CMYK
14, 0, 81, 19
Luminance
0.5424
Every format
| HEX | #b2cf28 |
| RGB | rgb(178, 207, 40) |
| HSL | hsl(70, 68%, 48%) |
| CMYK | cmyk(14%, 0%, 81%, 19%) |
| LAB | lab(78.6 -29.8 71.9) |
| LCH | lch(78.6 77.9 112.5) |
| OKLCH | oklch(0.805 0.180 119.7) |
Copy-ready code
/* CSS */
color: #b2cf28;
background-color: #b2cf28;
/* Tailwind (arbitrary) */
class="text-[#b2cf28] bg-[#b2cf28]"
/* SCSS */
$brand: #b2cf28;
/* SwiftUI */
Color(red: 0.698, green: 0.812, blue: 0.157)
/* Android */
Color.parseColor("#b2cf28")Accessibility — WCAG contrast
Aa
#b2cf28 on white: 1.77:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b2cf28 on black: 11.85:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.8%
Green81.2%
Blue15.7%
CMYK percentages
Cyan14.0%
Magenta0.0%
Yellow80.7%
Key (black)18.8%
Color previews
#b2cf28 text on a black background
contrast 11.85:1
Card sample
#b2cf28 text on a white background
contrast 1.77:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b2cf28;
Background color
Panel with #b2cf28 background
background-color: #b2cf28;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b2cf28;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(178, 207, 40, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 207, 40, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2cf28; background: linear-gradient(135deg, #b2cf28, #43CF28);