#b2db28
a balanced, vivid green · cool · closest name: yellow
RGB
178, 219, 40
HSL
74°, 71%, 51%
CMYK
19, 0, 82, 14
Luminance
0.6028
Every format
| HEX | #b2db28 |
| RGB | rgb(178, 219, 40) |
| HSL | hsl(74, 71%, 51%) |
| CMYK | cmyk(19%, 0%, 82%, 14%) |
| LAB | lab(82.0 -35.4 74.9) |
| LCH | lch(82.0 82.8 115.3) |
| OKLCH | oklch(0.833 0.193 122.7) |
Copy-ready code
/* CSS */
color: #b2db28;
background-color: #b2db28;
/* Tailwind (arbitrary) */
class="text-[#b2db28] bg-[#b2db28]"
/* SCSS */
$brand: #b2db28;
/* SwiftUI */
Color(red: 0.698, green: 0.859, blue: 0.157)
/* Android */
Color.parseColor("#b2db28")Accessibility — WCAG contrast
Aa
#b2db28 on white: 1.61:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b2db28 on black: 13.06:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.8%
Green85.9%
Blue15.7%
CMYK percentages
Cyan18.7%
Magenta0.0%
Yellow81.7%
Key (black)14.1%
Color previews
#b2db28 text on a black background
contrast 13.06:1
Card sample
#b2db28 text on a white background
contrast 1.61:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b2db28;
Background color
Panel with #b2db28 background
background-color: #b2db28;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b2db28;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(178, 219, 40, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 219, 40, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2db28; background: linear-gradient(135deg, #b2db28, #3BDB28);