#fb8921
a balanced, electric orange · warm · closest name: chocolate
RGB
251, 137, 33
HSL
29°, 97%, 56%
CMYK
0, 45, 87, 2
Luminance
0.3851
Every format
| HEX | #fb8921 |
| RGB | rgb(251, 137, 33) |
| HSL | hsl(29, 97%, 56%) |
| CMYK | cmyk(0%, 45%, 87%, 2%) |
| LAB | lab(68.4 37.1 68.2) |
| LCH | lch(68.4 77.7 61.4) |
| OKLCH | oklch(0.741 0.172 55.7) |
Copy-ready code
/* CSS */
color: #fb8921;
background-color: #fb8921;
/* Tailwind (arbitrary) */
class="text-[#fb8921] bg-[#fb8921]"
/* SCSS */
$brand: #fb8921;
/* SwiftUI */
Color(red: 0.984, green: 0.537, blue: 0.129)
/* Android */
Color.parseColor("#fb8921")Accessibility — WCAG contrast
Aa
#fb8921 on white: 2.41:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fb8921 on black: 8.70:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red98.4%
Green53.7%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta45.4%
Yellow86.9%
Key (black)1.6%
Color previews
#fb8921 text on a black background
contrast 8.70:1
Card sample
#fb8921 text on a white background
contrast 2.41:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fb8921;
Background color
Panel with #fb8921 background
background-color: #fb8921;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fb8921;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(251, 137, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(251, 137, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fb8921; background: linear-gradient(135deg, #fb8921, #DCFB21);