#f07521
a balanced, electric orange · warm · closest name: chocolate
RGB
240, 117, 33
HSL
24°, 87%, 54%
CMYK
0, 51, 86, 6
Luminance
0.3136
Every format
| HEX | #f07521 |
| RGB | rgb(240, 117, 33) |
| HSL | hsl(24, 87%, 54%) |
| CMYK | cmyk(0%, 51%, 86%, 6%) |
| LAB | lab(62.8 42.9 63.1) |
| LCH | lch(62.8 76.3 55.8) |
| OKLCH | oklch(0.695 0.175 48.9) |
Copy-ready code
/* CSS */
color: #f07521;
background-color: #f07521;
/* Tailwind (arbitrary) */
class="text-[#f07521] bg-[#f07521]"
/* SCSS */
$brand: #f07521;
/* SwiftUI */
Color(red: 0.941, green: 0.459, blue: 0.129)
/* Android */
Color.parseColor("#f07521")Accessibility — WCAG contrast
Aa
#f07521 on white: 2.89:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f07521 on black: 7.27:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green45.9%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta51.3%
Yellow86.3%
Key (black)5.9%
Color previews
#f07521 text on a black background
contrast 7.27:1
Card sample
#f07521 text on a white background
contrast 2.89:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f07521;
Background color
Panel with #f07521 background
background-color: #f07521;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f07521;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 117, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 117, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f07521; background: linear-gradient(135deg, #f07521, #E1F021);