#f56c21
a balanced, electric orange · warm · closest name: chocolate
RGB
245, 108, 33
HSL
21°, 91%, 55%
CMYK
0, 56, 87, 4
Luminance
0.3025
Every format
| HEX | #f56c21 |
| RGB | rgb(245, 108, 33) |
| HSL | hsl(21, 91%, 55%) |
| CMYK | cmyk(0%, 56%, 87%, 4%) |
| LAB | lab(61.9 49.1 62.6) |
| LCH | lch(61.9 79.6 51.9) |
| OKLCH | oklch(0.690 0.186 44.3) |
Copy-ready code
/* CSS */
color: #f56c21;
background-color: #f56c21;
/* Tailwind (arbitrary) */
class="text-[#f56c21] bg-[#f56c21]"
/* SCSS */
$brand: #f56c21;
/* SwiftUI */
Color(red: 0.961, green: 0.424, blue: 0.129)
/* Android */
Color.parseColor("#f56c21")Accessibility — WCAG contrast
Aa
#f56c21 on white: 2.98:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f56c21 on black: 7.05:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red96.1%
Green42.4%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta55.9%
Yellow86.5%
Key (black)3.9%
Color previews
#f56c21 text on a black background
contrast 7.05:1
Card sample
#f56c21 text on a white background
contrast 2.98:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f56c21;
Background color
Panel with #f56c21 background
background-color: #f56c21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f56c21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(245, 108, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(245, 108, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f56c21; background: linear-gradient(135deg, #f56c21, #F1F521);