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