#f0803b
a balanced, electric orange · warm · closest name: chocolate
RGB
240, 128, 59
HSL
23°, 86%, 59%
CMYK
0, 47, 75, 6
Luminance
0.3428
Every format
| HEX | #f0803b |
| RGB | rgb(240, 128, 59) |
| HSL | hsl(23, 86%, 59%) |
| CMYK | cmyk(0%, 47%, 75%, 6%) |
| LAB | lab(65.2 38.1 54.8) |
| LCH | lch(65.2 66.8 55.2) |
| OKLCH | oklch(0.714 0.160 49.2) |
Copy-ready code
/* CSS */
color: #f0803b;
background-color: #f0803b;
/* Tailwind (arbitrary) */
class="text-[#f0803b] bg-[#f0803b]"
/* SCSS */
$brand: #f0803b;
/* SwiftUI */
Color(red: 0.941, green: 0.502, blue: 0.231)
/* Android */
Color.parseColor("#f0803b")Accessibility — WCAG contrast
Aa
#f0803b on white: 2.67:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f0803b on black: 7.86:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green50.2%
Blue23.1%
CMYK percentages
Cyan0.0%
Magenta46.7%
Yellow75.4%
Key (black)5.9%
Color previews
#f0803b text on a black background
contrast 7.86:1
Card sample
#f0803b text on a white background
contrast 2.67:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f0803b;
Background color
Panel with #f0803b background
background-color: #f0803b;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f0803b;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 128, 59, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 128, 59, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f0803b; background: linear-gradient(135deg, #f0803b, #E7F03B);