#b2cf97
a light, soft green · cool · closest name: tan
RGB
178, 207, 151
HSL
91°, 37%, 70%
CMYK
14, 0, 27, 19
Luminance
0.5632
Every format
| HEX | #b2cf97 |
| RGB | rgb(178, 207, 151) |
| HSL | hsl(91, 37%, 70%) |
| CMYK | cmyk(14%, 0%, 27%, 19%) |
| LAB | lab(79.8 -19.6 24.7) |
| LCH | lch(79.8 31.6 128.5) |
| OKLCH | oklch(0.819 0.082 130.3) |
Copy-ready code
/* CSS */
color: #b2cf97;
background-color: #b2cf97;
/* Tailwind (arbitrary) */
class="text-[#b2cf97] bg-[#b2cf97]"
/* SCSS */
$brand: #b2cf97;
/* SwiftUI */
Color(red: 0.698, green: 0.812, blue: 0.592)
/* Android */
Color.parseColor("#b2cf97")Accessibility — WCAG contrast
Aa
#b2cf97 on white: 1.71:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b2cf97 on black: 12.26:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.8%
Green81.2%
Blue59.2%
CMYK percentages
Cyan14.0%
Magenta0.0%
Yellow27.1%
Key (black)18.8%
Color previews
#b2cf97 text on a black background
contrast 12.26:1
Card sample
#b2cf97 text on a white background
contrast 1.71:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b2cf97;
Background color
Panel with #b2cf97 background
background-color: #b2cf97;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b2cf97;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(178, 207, 151, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 207, 151, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2cf97; background: linear-gradient(135deg, #b2cf97, #97CFA1);