#b2cf92
a light, soft green · cool · closest name: khaki
RGB
178, 207, 146
HSL
89°, 39%, 69%
CMYK
14, 0, 30, 19
Luminance
0.5617
Every format
| HEX | #b2cf92 |
| RGB | rgb(178, 207, 146) |
| HSL | hsl(89, 39%, 69%) |
| CMYK | cmyk(14%, 0%, 30%, 19%) |
| LAB | lab(79.7 -20.4 27.2) |
| LCH | lch(79.7 34.0 126.8) |
| OKLCH | oklch(0.818 0.088 128.8) |
Copy-ready code
/* CSS */
color: #b2cf92;
background-color: #b2cf92;
/* Tailwind (arbitrary) */
class="text-[#b2cf92] bg-[#b2cf92]"
/* SCSS */
$brand: #b2cf92;
/* SwiftUI */
Color(red: 0.698, green: 0.812, blue: 0.573)
/* Android */
Color.parseColor("#b2cf92")Accessibility — WCAG contrast
Aa
#b2cf92 on white: 1.72:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b2cf92 on black: 12.23:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.8%
Green81.2%
Blue57.3%
CMYK percentages
Cyan14.0%
Magenta0.0%
Yellow29.5%
Key (black)18.8%
Color previews
#b2cf92 text on a black background
contrast 12.23:1
Card sample
#b2cf92 text on a white background
contrast 1.72:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b2cf92;
Background color
Panel with #b2cf92 background
background-color: #b2cf92;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b2cf92;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(178, 207, 146, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 207, 146, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2cf92; background: linear-gradient(135deg, #b2cf92, #92CF9B);