#f08028
a balanced, electric orange · warm · closest name: chocolate
RGB
240, 128, 40
HSL
26°, 87%, 55%
CMYK
0, 47, 83, 6
Luminance
0.3412
Every format
| HEX | #f08028 |
| RGB | rgb(240, 128, 40) |
| HSL | hsl(26, 87%, 55%) |
| CMYK | cmyk(0%, 47%, 83%, 6%) |
| LAB | lab(65.1 37.5 62.5) |
| LCH | lch(65.1 72.9 59.0) |
| OKLCH | oklch(0.713 0.166 53.0) |
Copy-ready code
/* CSS */
color: #f08028;
background-color: #f08028;
/* Tailwind (arbitrary) */
class="text-[#f08028] bg-[#f08028]"
/* SCSS */
$brand: #f08028;
/* SwiftUI */
Color(red: 0.941, green: 0.502, blue: 0.157)
/* Android */
Color.parseColor("#f08028")Accessibility — WCAG contrast
Aa
#f08028 on white: 2.68:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f08028 on black: 7.82:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green50.2%
Blue15.7%
CMYK percentages
Cyan0.0%
Magenta46.7%
Yellow83.3%
Key (black)5.9%
Color previews
#f08028 text on a black background
contrast 7.82:1
Card sample
#f08028 text on a white background
contrast 2.68:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f08028;
Background color
Panel with #f08028 background
background-color: #f08028;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f08028;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 128, 40, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 128, 40, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f08028; background: linear-gradient(135deg, #f08028, #DBF028);