#ffac2f
a balanced, electric orange · warm · closest name: orange
RGB
255, 172, 47
HSL
36°, 100%, 59%
CMYK
0, 33, 82, 0
Luminance
0.5097
Every format
| HEX | #ffac2f |
| RGB | rgb(255, 172, 47) |
| HSL | hsl(36, 100%, 59%) |
| CMYK | cmyk(0%, 33%, 82%, 0%) |
| LAB | lab(76.7 21.0 70.9) |
| LCH | lch(76.7 74.0 73.5) |
| OKLCH | oklch(0.806 0.160 71.4) |
Copy-ready code
/* CSS */
color: #ffac2f;
background-color: #ffac2f;
/* Tailwind (arbitrary) */
class="text-[#ffac2f] bg-[#ffac2f]"
/* SCSS */
$brand: #ffac2f;
/* SwiftUI */
Color(red: 1.000, green: 0.675, blue: 0.184)
/* Android */
Color.parseColor("#ffac2f")Accessibility — WCAG contrast
Aa
#ffac2f on white: 1.88:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ffac2f on black: 11.19:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green67.5%
Blue18.4%
CMYK percentages
Cyan0.0%
Magenta32.5%
Yellow81.6%
Key (black)0.0%
Color previews
#ffac2f text on a black background
contrast 11.19:1
Card sample
#ffac2f text on a white background
contrast 1.88:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ffac2f;
Background color
Panel with #ffac2f background
background-color: #ffac2f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ffac2f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 172, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 172, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffac2f; background: linear-gradient(135deg, #ffac2f, #C7FF2F);