#bad921
a balanced, vivid green · cool · closest name: yellow
RGB
186, 217, 33
HSL
70°, 74%, 49%
CMYK
14, 0, 85, 15
Luminance
0.6017
Every format
| HEX | #bad921 |
| RGB | rgb(186, 217, 33) |
| HSL | hsl(70, 74%, 49%) |
| CMYK | cmyk(14%, 0%, 85%, 15%) |
| LAB | lab(81.9 -31.4 76.7) |
| LCH | lch(81.9 82.9 112.3) |
| OKLCH | oklch(0.834 0.190 119.8) |
Copy-ready code
/* CSS */
color: #bad921;
background-color: #bad921;
/* Tailwind (arbitrary) */
class="text-[#bad921] bg-[#bad921]"
/* SCSS */
$brand: #bad921;
/* SwiftUI */
Color(red: 0.729, green: 0.851, blue: 0.129)
/* Android */
Color.parseColor("#bad921")Accessibility — WCAG contrast
Aa
#bad921 on white: 1.61:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bad921 on black: 13.03:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green85.1%
Blue12.9%
CMYK percentages
Cyan14.3%
Magenta0.0%
Yellow84.8%
Key (black)14.9%
Color previews
#bad921 text on a black background
contrast 13.03:1
Card sample
#bad921 text on a white background
contrast 1.61:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bad921;
Background color
Panel with #bad921 background
background-color: #bad921;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bad921;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 217, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 217, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bad921; background: linear-gradient(135deg, #bad921, #3FD921);