#f0b349
a balanced, electric orange · warm · closest name: peru
RGB
240, 179, 73
HSL
38°, 85%, 61%
CMYK
0, 25, 70, 6
Luminance
0.5125
Every format
| HEX | #f0b349 |
| RGB | rgb(240, 179, 73) |
| HSL | hsl(38, 85%, 61%) |
| CMYK | cmyk(0%, 25%, 70%, 6%) |
| LAB | lab(76.8 12.1 60.6) |
| LCH | lch(76.8 61.8 78.7) |
| OKLCH | oklch(0.805 0.139 78.0) |
Copy-ready code
/* CSS */
color: #f0b349;
background-color: #f0b349;
/* Tailwind (arbitrary) */
class="text-[#f0b349] bg-[#f0b349]"
/* SCSS */
$brand: #f0b349;
/* SwiftUI */
Color(red: 0.941, green: 0.702, blue: 0.286)
/* Android */
Color.parseColor("#f0b349")Accessibility — WCAG contrast
Aa
#f0b349 on white: 1.87:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f0b349 on black: 11.25:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green70.2%
Blue28.6%
CMYK percentages
Cyan0.0%
Magenta25.4%
Yellow69.6%
Key (black)5.9%
Color previews
#f0b349 text on a black background
contrast 11.25:1
Card sample
#f0b349 text on a white background
contrast 1.87:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f0b349;
Background color
Panel with #f0b349 background
background-color: #f0b349;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f0b349;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 179, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 179, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f0b349; background: linear-gradient(135deg, #f0b349, #BEF049);