#ff8021
a balanced, electric orange · warm · closest name: chocolate
RGB
255, 128, 33
HSL
26°, 100%, 57%
CMYK
0, 50, 87, 0
Luminance
0.3681
Every format
| HEX | #ff8021 |
| RGB | rgb(255, 128, 33) |
| HSL | hsl(26, 100%, 57%) |
| CMYK | cmyk(0%, 50%, 87%, 0%) |
| LAB | lab(67.1 43.2 67.4) |
| LCH | lch(67.1 80.1 57.3) |
| OKLCH | oklch(0.733 0.181 50.6) |
Copy-ready code
/* CSS */
color: #ff8021;
background-color: #ff8021;
/* Tailwind (arbitrary) */
class="text-[#ff8021] bg-[#ff8021]"
/* SCSS */
$brand: #ff8021;
/* SwiftUI */
Color(red: 1.000, green: 0.502, blue: 0.129)
/* Android */
Color.parseColor("#ff8021")Accessibility — WCAG contrast
Aa
#ff8021 on white: 2.51:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ff8021 on black: 8.36:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green50.2%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta49.8%
Yellow87.1%
Key (black)0.0%
Color previews
#ff8021 text on a black background
contrast 8.36:1
Card sample
#ff8021 text on a white background
contrast 2.51:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ff8021;
Background color
Panel with #ff8021 background
background-color: #ff8021;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ff8021;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 128, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 128, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ff8021; background: linear-gradient(135deg, #ff8021, #EAFF21);