#b2cf8b
a light, soft green · cool · closest name: khaki
RGB
178, 207, 139
HSL
86°, 42%, 68%
CMYK
14, 0, 33, 19
Luminance
0.5595
Every format
| HEX | #b2cf8b |
| RGB | rgb(178, 207, 139) |
| HSL | hsl(86, 42%, 68%) |
| CMYK | cmyk(14%, 0%, 33%, 19%) |
| LAB | lab(79.6 -21.4 30.7) |
| LCH | lch(79.6 37.4 124.8) |
| OKLCH | oklch(0.817 0.096 127.2) |
Copy-ready code
/* CSS */
color: #b2cf8b;
background-color: #b2cf8b;
/* Tailwind (arbitrary) */
class="text-[#b2cf8b] bg-[#b2cf8b]"
/* SCSS */
$brand: #b2cf8b;
/* SwiftUI */
Color(red: 0.698, green: 0.812, blue: 0.545)
/* Android */
Color.parseColor("#b2cf8b")Accessibility — WCAG contrast
Aa
#b2cf8b on white: 1.72:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b2cf8b on black: 12.19:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.8%
Green81.2%
Blue54.5%
CMYK percentages
Cyan14.0%
Magenta0.0%
Yellow32.9%
Key (black)18.8%
Color previews
#b2cf8b text on a black background
contrast 12.19:1
Card sample
#b2cf8b text on a white background
contrast 1.72:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b2cf8b;
Background color
Panel with #b2cf8b background
background-color: #b2cf8b;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b2cf8b;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(178, 207, 139, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 207, 139, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2cf8b; background: linear-gradient(135deg, #b2cf8b, #8BCF91);