#b2cd49
a balanced, vivid green · cool · closest name: olivedrab
RGB
178, 205, 73
HSL
72°, 57%, 55%
CMYK
13, 0, 64, 20
Luminance
0.5361
Every format
| HEX | #b2cd49 |
| RGB | rgb(178, 205, 73) |
| HSL | hsl(72, 57%, 55%) |
| CMYK | cmyk(13%, 0%, 64%, 20%) |
| LAB | lab(78.2 -27.2 60.4) |
| LCH | lch(78.2 66.2 114.2) |
| OKLCH | oklch(0.803 0.159 120.0) |
Copy-ready code
/* CSS */
color: #b2cd49;
background-color: #b2cd49;
/* Tailwind (arbitrary) */
class="text-[#b2cd49] bg-[#b2cd49]"
/* SCSS */
$brand: #b2cd49;
/* SwiftUI */
Color(red: 0.698, green: 0.804, blue: 0.286)
/* Android */
Color.parseColor("#b2cd49")Accessibility — WCAG contrast
Aa
#b2cd49 on white: 1.79:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b2cd49 on black: 11.72:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.8%
Green80.4%
Blue28.6%
CMYK percentages
Cyan13.2%
Magenta0.0%
Yellow64.4%
Key (black)19.6%
Color previews
#b2cd49 text on a black background
contrast 11.72:1
Card sample
#b2cd49 text on a white background
contrast 1.79:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b2cd49;
Background color
Panel with #b2cd49 background
background-color: #b2cd49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b2cd49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(178, 205, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 205, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2cd49; background: linear-gradient(135deg, #b2cd49, #5ACD49);