#ffa40c
a balanced, electric orange · warm · “orange”
RGB
255, 164, 12
HSL
38°, 100%, 52%
CMYK
0, 36, 95, 0
Luminance
0.4784
Every format
| HEX | #ffa40c |
| RGB | rgb(255, 164, 12) |
| HSL | hsl(38, 100%, 52%) |
| CMYK | cmyk(0%, 36%, 95%, 0%) |
| LAB | lab(74.7 24.6 77.4) |
| LCH | lch(74.7 81.2 72.4) |
| OKLCH | oklch(0.791 0.170 69.7) |
Copy-ready code
/* CSS */
color: #ffa40c;
background-color: #ffa40c;
/* Tailwind (arbitrary) */
class="text-[#ffa40c] bg-[#ffa40c]"
/* SCSS */
$brand: #ffa40c;
/* SwiftUI */
Color(red: 1.000, green: 0.643, blue: 0.047)
/* Android */
Color.parseColor("#ffa40c")Accessibility — WCAG contrast
Aa
#ffa40c on white: 1.99:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffa40c on black: 10.57:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green64.3%
Blue4.7%
CMYK percentages
Cyan0.0%
Magenta35.7%
Yellow95.3%
Key (black)0.0%
Color previews
#ffa40c text on a black background
contrast 10.57:1
Card sample
#ffa40c text on a white background
contrast 1.99:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffa40c;
Background color
Panel with #ffa40c background
background-color: #ffa40c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffa40c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 164, 12, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 164, 12, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffa40c; background: linear-gradient(135deg, #ffa40c, #B8FF0C);