#b2db81
a light, vivid green · cool · closest name: khaki
RGB
178, 219, 129
HSL
87°, 56%, 68%
CMYK
19, 0, 41, 14
Luminance
0.6171
Every format
| HEX | #b2db81 |
| RGB | rgb(178, 219, 129) |
| HSL | hsl(87, 56%, 68%) |
| CMYK | cmyk(19%, 0%, 41%, 14%) |
| LAB | lab(82.8 -28.5 39.9) |
| LCH | lch(82.8 49.0 125.5) |
| OKLCH | oklch(0.841 0.125 128.8) |
Copy-ready code
/* CSS */
color: #b2db81;
background-color: #b2db81;
/* Tailwind (arbitrary) */
class="text-[#b2db81] bg-[#b2db81]"
/* SCSS */
$brand: #b2db81;
/* SwiftUI */
Color(red: 0.698, green: 0.859, blue: 0.506)
/* Android */
Color.parseColor("#b2db81")Accessibility — WCAG contrast
Aa
#b2db81 on white: 1.57:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b2db81 on black: 13.34:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.8%
Green85.9%
Blue50.6%
CMYK percentages
Cyan18.7%
Magenta0.0%
Yellow41.1%
Key (black)14.1%
Color previews
#b2db81 text on a black background
contrast 13.34:1
Card sample
#b2db81 text on a white background
contrast 1.57:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b2db81;
Background color
Panel with #b2db81 background
background-color: #b2db81;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b2db81;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(178, 219, 129, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 219, 129, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2db81; background: linear-gradient(135deg, #b2db81, #81DB8C);