#f98c21
a balanced, electric orange · warm · closest name: orange
RGB
249, 140, 33
HSL
30°, 95%, 55%
CMYK
0, 44, 87, 2
Luminance
0.3901
Every format
| HEX | #f98c21 |
| RGB | rgb(249, 140, 33) |
| HSL | hsl(30, 95%, 55%) |
| CMYK | cmyk(0%, 44%, 87%, 2%) |
| LAB | lab(68.8 34.8 68.4) |
| LCH | lch(68.8 76.7 63.0) |
| OKLCH | oklch(0.744 0.169 57.7) |
Copy-ready code
/* CSS */
color: #f98c21;
background-color: #f98c21;
/* Tailwind (arbitrary) */
class="text-[#f98c21] bg-[#f98c21]"
/* SCSS */
$brand: #f98c21;
/* SwiftUI */
Color(red: 0.976, green: 0.549, blue: 0.129)
/* Android */
Color.parseColor("#f98c21")Accessibility — WCAG contrast
Aa
#f98c21 on white: 2.39:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f98c21 on black: 8.80:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red97.6%
Green54.9%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta43.8%
Yellow86.7%
Key (black)2.4%
Color previews
#f98c21 text on a black background
contrast 8.80:1
Card sample
#f98c21 text on a white background
contrast 2.39:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f98c21;
Background color
Panel with #f98c21 background
background-color: #f98c21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f98c21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(249, 140, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(249, 140, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f98c21; background: linear-gradient(135deg, #f98c21, #D6F921);