#fab621
a balanced, electric yellow · warm · closest name: orange
RGB
250, 182, 33
HSL
41°, 96%, 56%
CMYK
0, 27, 87, 2
Luminance
0.5389
Every format
| HEX | #fab621 |
| RGB | rgb(250, 182, 33) |
| HSL | hsl(41, 96%, 56%) |
| CMYK | cmyk(0%, 27%, 87%, 2%) |
| LAB | lab(78.4 13.3 76.1) |
| LCH | lch(78.4 77.2 80.1) |
| OKLCH | oklch(0.819 0.163 80.2) |
Copy-ready code
/* CSS */
color: #fab621;
background-color: #fab621;
/* Tailwind (arbitrary) */
class="text-[#fab621] bg-[#fab621]"
/* SCSS */
$brand: #fab621;
/* SwiftUI */
Color(red: 0.980, green: 0.714, blue: 0.129)
/* Android */
Color.parseColor("#fab621")Accessibility — WCAG contrast
Aa
#fab621 on white: 1.78:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fab621 on black: 11.78:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red98.0%
Green71.4%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta27.2%
Yellow86.8%
Key (black)2.0%
Color previews
#fab621 text on a black background
contrast 11.78:1
Card sample
#fab621 text on a white background
contrast 1.78:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fab621;
Background color
Panel with #fab621 background
background-color: #fab621;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fab621;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(250, 182, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(250, 182, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fab621; background: linear-gradient(135deg, #fab621, #ADFA21);