#f28f13
a balanced, electric orange · warm · closest name: orange
RGB
242, 143, 19
HSL
33°, 90%, 51%
CMYK
0, 41, 92, 5
Luminance
0.3857
Every format
| HEX | #f28f13 |
| RGB | rgb(242, 143, 19) |
| HSL | hsl(33, 90%, 51%) |
| CMYK | cmyk(0%, 41%, 92%, 5%) |
| LAB | lab(68.4 30.2 71.2) |
| LCH | lch(68.4 77.3 67.0) |
| OKLCH | oklch(0.739 0.165 62.6) |
Copy-ready code
/* CSS */
color: #f28f13;
background-color: #f28f13;
/* Tailwind (arbitrary) */
class="text-[#f28f13] bg-[#f28f13]"
/* SCSS */
$brand: #f28f13;
/* SwiftUI */
Color(red: 0.949, green: 0.561, blue: 0.075)
/* Android */
Color.parseColor("#f28f13")Accessibility — WCAG contrast
Aa
#f28f13 on white: 2.41:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f28f13 on black: 8.71:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.9%
Green56.1%
Blue7.5%
CMYK percentages
Cyan0.0%
Magenta40.9%
Yellow92.1%
Key (black)5.1%
Color previews
#f28f13 text on a black background
contrast 8.71:1
Card sample
#f28f13 text on a white background
contrast 2.41:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f28f13;
Background color
Panel with #f28f13 background
background-color: #f28f13;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f28f13;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(242, 143, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(242, 143, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f28f13; background: linear-gradient(135deg, #f28f13, #C0F213);