#badf49
a balanced, vivid green · cool · closest name: khaki
RGB
186, 223, 73
HSL
75°, 70%, 58%
CMYK
17, 0, 67, 13
Luminance
0.6370
Every format
| HEX | #badf49 |
| RGB | rgb(186, 223, 73) |
| HSL | hsl(75, 70%, 58%) |
| CMYK | cmyk(17%, 0%, 67%, 13%) |
| LAB | lab(83.8 -32.5 66.4) |
| LCH | lch(83.8 73.9 116.1) |
| OKLCH | oklch(0.849 0.177 122.2) |
Copy-ready code
/* CSS */
color: #badf49;
background-color: #badf49;
/* Tailwind (arbitrary) */
class="text-[#badf49] bg-[#badf49]"
/* SCSS */
$brand: #badf49;
/* SwiftUI */
Color(red: 0.729, green: 0.875, blue: 0.286)
/* Android */
Color.parseColor("#badf49")Accessibility — WCAG contrast
Aa
#badf49 on white: 1.53:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#badf49 on black: 13.74:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green87.5%
Blue28.6%
CMYK percentages
Cyan16.6%
Magenta0.0%
Yellow67.3%
Key (black)12.5%
Color previews
#badf49 text on a black background
contrast 13.74:1
Card sample
#badf49 text on a white background
contrast 1.53:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #badf49;
Background color
Panel with #badf49 background
background-color: #badf49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #badf49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 223, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 223, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #badf49; background: linear-gradient(135deg, #badf49, #56DF49);