#fb8021
a balanced, electric orange · warm · closest name: chocolate
RGB
251, 128, 33
HSL
26°, 97%, 56%
CMYK
0, 49, 87, 2
Luminance
0.3606
Every format
| HEX | #fb8021 |
| RGB | rgb(251, 128, 33) |
| HSL | hsl(26, 97%, 56%) |
| CMYK | cmyk(0%, 49%, 87%, 2%) |
| LAB | lab(66.6 41.7 66.8) |
| LCH | lch(66.6 78.7 58.0) |
| OKLCH | oklch(0.727 0.178 51.5) |
Copy-ready code
/* CSS */
color: #fb8021;
background-color: #fb8021;
/* Tailwind (arbitrary) */
class="text-[#fb8021] bg-[#fb8021]"
/* SCSS */
$brand: #fb8021;
/* SwiftUI */
Color(red: 0.984, green: 0.502, blue: 0.129)
/* Android */
Color.parseColor("#fb8021")Accessibility — WCAG contrast
Aa
#fb8021 on white: 2.56:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#fb8021 on black: 8.21:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red98.4%
Green50.2%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta49.0%
Yellow86.9%
Key (black)1.6%
Color previews
#fb8021 text on a black background
contrast 8.21:1
Card sample
#fb8021 text on a white background
contrast 2.56:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fb8021;
Background color
Panel with #fb8021 background
background-color: #fb8021;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fb8021;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(251, 128, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(251, 128, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fb8021; background: linear-gradient(135deg, #fb8021, #E5FB21);