#ffb40f
a balanced, electric yellow · warm · closest name: orange
RGB
255, 180, 15
HSL
41°, 100%, 53%
CMYK
0, 29, 94, 0
Luminance
0.5394
Every format
| HEX | #ffb40f |
| RGB | rgb(255, 180, 15) |
| HSL | hsl(41, 100%, 53%) |
| CMYK | cmyk(0%, 29%, 94%, 0%) |
| LAB | lab(78.4 16.2 79.7) |
| LCH | lch(78.4 81.3 78.5) |
| OKLCH | oklch(0.820 0.169 78.1) |
Copy-ready code
/* CSS */
color: #ffb40f;
background-color: #ffb40f;
/* Tailwind (arbitrary) */
class="text-[#ffb40f] bg-[#ffb40f]"
/* SCSS */
$brand: #ffb40f;
/* SwiftUI */
Color(red: 1.000, green: 0.706, blue: 0.059)
/* Android */
Color.parseColor("#ffb40f")Accessibility — WCAG contrast
Aa
#ffb40f on white: 1.78:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffb40f on black: 11.79:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green70.6%
Blue5.9%
CMYK percentages
Cyan0.0%
Magenta29.4%
Yellow94.1%
Key (black)0.0%
Color previews
#ffb40f text on a black background
contrast 11.79:1
Card sample
#ffb40f text on a white background
contrast 1.78:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffb40f;
Background color
Panel with #ffb40f background
background-color: #ffb40f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffb40f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 180, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 180, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffb40f; background: linear-gradient(135deg, #ffb40f, #AAFF0F);