#ffa040
a balanced, electric orange · warm · closest name: orange
RGB
255, 160, 64
HSL
30°, 100%, 63%
CMYK
0, 37, 75, 0
Luminance
0.4677
Every format
| HEX | #ffa040 |
| RGB | rgb(255, 160, 64) |
| HSL | hsl(30, 100%, 63%) |
| CMYK | cmyk(0%, 37%, 75%, 0%) |
| LAB | lab(74.0 27.9 62.1) |
| LCH | lch(74.0 68.1 65.8) |
| OKLCH | oklch(0.786 0.155 61.9) |
Copy-ready code
/* CSS */
color: #ffa040;
background-color: #ffa040;
/* Tailwind (arbitrary) */
class="text-[#ffa040] bg-[#ffa040]"
/* SCSS */
$brand: #ffa040;
/* SwiftUI */
Color(red: 1.000, green: 0.627, blue: 0.251)
/* Android */
Color.parseColor("#ffa040")Accessibility — WCAG contrast
Aa
#ffa040 on white: 2.03:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffa040 on black: 10.35:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green62.7%
Blue25.1%
CMYK percentages
Cyan0.0%
Magenta37.3%
Yellow74.9%
Key (black)0.0%
Color previews
#ffa040 text on a black background
contrast 10.35:1
Card sample
#ffa040 text on a white background
contrast 2.03:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffa040;
Background color
Panel with #ffa040 background
background-color: #ffa040;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffa040;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 160, 64, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 160, 64, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffa040; background: linear-gradient(135deg, #ffa040, #DEFF40);