#af7f28
a dark, vivid orange · warm · closest name: peru
RGB
175, 127, 40
HSL
39°, 63%, 42%
CMYK
0, 27, 77, 31
Luminance
0.2445
Every format
| HEX | #af7f28 |
| RGB | rgb(175, 127, 40) |
| HSL | hsl(39, 63%, 42%) |
| CMYK | cmyk(0%, 27%, 77%, 31%) |
| LAB | lab(56.5 10.5 51.7) |
| LCH | lch(56.5 52.7 78.5) |
| OKLCH | oklch(0.629 0.116 78.0) |
Copy-ready code
/* CSS */
color: #af7f28;
background-color: #af7f28;
/* Tailwind (arbitrary) */
class="text-[#af7f28] bg-[#af7f28]"
/* SCSS */
$brand: #af7f28;
/* SwiftUI */
Color(red: 0.686, green: 0.498, blue: 0.157)
/* Android */
Color.parseColor("#af7f28")Accessibility — WCAG contrast
Aa
#af7f28 on white: 3.57:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#af7f28 on black: 5.89:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green49.8%
Blue15.7%
CMYK percentages
Cyan0.0%
Magenta27.4%
Yellow77.1%
Key (black)31.4%
Color previews
#af7f28 text on a black background
contrast 5.89:1
Card sample
#af7f28 text on a white background
contrast 3.57:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af7f28;
Background color
Panel with #af7f28 background
background-color: #af7f28;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af7f28;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 127, 40, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 127, 40, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af7f28; background: linear-gradient(135deg, #af7f28, #85AF28);