#b4cf49
a balanced, vivid green · cool · closest name: olivedrab
RGB
180, 207, 73
HSL
72°, 58%, 55%
CMYK
13, 0, 65, 19
Luminance
0.5481
Every format
| HEX | #b4cf49 |
| RGB | rgb(180, 207, 73) |
| HSL | hsl(72, 58%, 55%) |
| CMYK | cmyk(13%, 0%, 65%, 19%) |
| LAB | lab(78.9 -27.3 61.2) |
| LCH | lch(78.9 67.0 114.1) |
| OKLCH | oklch(0.809 0.160 119.9) |
Copy-ready code
/* CSS */
color: #b4cf49;
background-color: #b4cf49;
/* Tailwind (arbitrary) */
class="text-[#b4cf49] bg-[#b4cf49]"
/* SCSS */
$brand: #b4cf49;
/* SwiftUI */
Color(red: 0.706, green: 0.812, blue: 0.286)
/* Android */
Color.parseColor("#b4cf49")Accessibility — WCAG contrast
Aa
#b4cf49 on white: 1.76:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b4cf49 on black: 11.96:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red70.6%
Green81.2%
Blue28.6%
CMYK percentages
Cyan13.0%
Magenta0.0%
Yellow64.7%
Key (black)18.8%
Color previews
#b4cf49 text on a black background
contrast 11.96:1
Card sample
#b4cf49 text on a white background
contrast 1.76:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b4cf49;
Background color
Panel with #b4cf49 background
background-color: #b4cf49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b4cf49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(180, 207, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(180, 207, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b4cf49; background: linear-gradient(135deg, #b4cf49, #5BCF49);