#ffaf3b
a balanced, electric orange · warm · closest name: orange
RGB
255, 175, 59
HSL
36°, 100%, 62%
CMYK
0, 31, 77, 0
Luminance
0.5224
Every format
| HEX | #ffaf3b |
| RGB | rgb(255, 175, 59) |
| HSL | hsl(36, 100%, 62%) |
| CMYK | cmyk(0%, 31%, 77%, 0%) |
| LAB | lab(77.4 19.9 67.4) |
| LCH | lch(77.4 70.2 73.6) |
| OKLCH | oklch(0.813 0.155 71.6) |
Copy-ready code
/* CSS */
color: #ffaf3b;
background-color: #ffaf3b;
/* Tailwind (arbitrary) */
class="text-[#ffaf3b] bg-[#ffaf3b]"
/* SCSS */
$brand: #ffaf3b;
/* SwiftUI */
Color(red: 1.000, green: 0.686, blue: 0.231)
/* Android */
Color.parseColor("#ffaf3b")Accessibility — WCAG contrast
Aa
#ffaf3b on white: 1.83:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffaf3b on black: 11.45:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green68.6%
Blue23.1%
CMYK percentages
Cyan0.0%
Magenta31.4%
Yellow76.9%
Key (black)0.0%
Color previews
#ffaf3b text on a black background
contrast 11.45:1
Card sample
#ffaf3b text on a white background
contrast 1.83:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffaf3b;
Background color
Panel with #ffaf3b background
background-color: #ffaf3b;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffaf3b;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 175, 59, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 175, 59, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffaf3b; background: linear-gradient(135deg, #ffaf3b, #CCFF3B);