#bad430
a balanced, vivid yellow · cool · closest name: yellow
RGB
186, 212, 48
HSL
70°, 66%, 51%
CMYK
12, 0, 77, 17
Luminance
0.5774
Every format
| HEX | #bad430 |
| RGB | rgb(186, 212, 48) |
| HSL | hsl(70, 66%, 51%) |
| CMYK | cmyk(12%, 0%, 77%, 17%) |
| LAB | lab(80.6 -28.6 71.7) |
| LCH | lch(80.6 77.2 111.8) |
| OKLCH | oklch(0.823 0.179 118.7) |
Copy-ready code
/* CSS */
color: #bad430;
background-color: #bad430;
/* Tailwind (arbitrary) */
class="text-[#bad430] bg-[#bad430]"
/* SCSS */
$brand: #bad430;
/* SwiftUI */
Color(red: 0.729, green: 0.831, blue: 0.188)
/* Android */
Color.parseColor("#bad430")Accessibility — WCAG contrast
Aa
#bad430 on white: 1.67:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bad430 on black: 12.55:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green83.1%
Blue18.8%
CMYK percentages
Cyan12.3%
Magenta0.0%
Yellow77.4%
Key (black)16.9%
Color previews
#bad430 text on a black background
contrast 12.55:1
Card sample
#bad430 text on a white background
contrast 1.67:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bad430;
Background color
Panel with #bad430 background
background-color: #bad430;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bad430;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 212, 48, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 212, 48, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bad430; background: linear-gradient(135deg, #bad430, #4DD430);