#ffaf4d
a light, electric orange · warm · closest name: orange
RGB
255, 175, 77
HSL
33°, 100%, 65%
CMYK
0, 31, 70, 0
Luminance
0.5246
Every format
| HEX | #ffaf4d |
| RGB | rgb(255, 175, 77) |
| HSL | hsl(33, 100%, 65%) |
| CMYK | cmyk(0%, 31%, 70%, 0%) |
| LAB | lab(77.6 20.6 60.1) |
| LCH | lch(77.6 63.6 71.1) |
| OKLCH | oklch(0.814 0.145 68.4) |
Copy-ready code
/* CSS */
color: #ffaf4d;
background-color: #ffaf4d;
/* Tailwind (arbitrary) */
class="text-[#ffaf4d] bg-[#ffaf4d]"
/* SCSS */
$brand: #ffaf4d;
/* SwiftUI */
Color(red: 1.000, green: 0.686, blue: 0.302)
/* Android */
Color.parseColor("#ffaf4d")Accessibility — WCAG contrast
Aa
#ffaf4d on white: 1.83:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffaf4d on black: 11.49:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green68.6%
Blue30.2%
CMYK percentages
Cyan0.0%
Magenta31.4%
Yellow69.8%
Key (black)0.0%
Color previews
#ffaf4d text on a black background
contrast 11.49:1
Card sample
#ffaf4d text on a white background
contrast 1.83:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffaf4d;
Background color
Panel with #ffaf4d background
background-color: #ffaf4d;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffaf4d;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 175, 77, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 175, 77, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffaf4d; background: linear-gradient(135deg, #ffaf4d, #D8FF4D);