#ffb314
a balanced, electric yellow · warm · closest name: orange
RGB
255, 179, 20
HSL
41°, 100%, 54%
CMYK
0, 30, 92, 0
Luminance
0.5355
Every format
| HEX | #ffb314 |
| RGB | rgb(255, 179, 20) |
| HSL | hsl(41, 100%, 54%) |
| CMYK | cmyk(0%, 30%, 92%, 0%) |
| LAB | lab(78.2 16.8 78.8) |
| LCH | lch(78.2 80.5 78.0) |
| OKLCH | oklch(0.818 0.168 77.3) |
Copy-ready code
/* CSS */
color: #ffb314;
background-color: #ffb314;
/* Tailwind (arbitrary) */
class="text-[#ffb314] bg-[#ffb314]"
/* SCSS */
$brand: #ffb314;
/* SwiftUI */
Color(red: 1.000, green: 0.702, blue: 0.078)
/* Android */
Color.parseColor("#ffb314")Accessibility — WCAG contrast
Aa
#ffb314 on white: 1.79:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffb314 on black: 11.71:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green70.2%
Blue7.8%
CMYK percentages
Cyan0.0%
Magenta29.8%
Yellow92.2%
Key (black)0.0%
Color previews
#ffb314 text on a black background
contrast 11.71:1
Card sample
#ffb314 text on a white background
contrast 1.79:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffb314;
Background color
Panel with #ffb314 background
background-color: #ffb314;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffb314;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 179, 20, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 179, 20, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffb314; background: linear-gradient(135deg, #ffb314, #AEFF14);