#ab7213
a dark, electric orange · warm · closest name: peru
RGB
171, 114, 19
HSL
38°, 80%, 37%
CMYK
0, 33, 89, 33
Luminance
0.2074
Every format
| HEX | #ab7213 |
| RGB | rgb(171, 114, 19) |
| HSL | hsl(38, 80%, 37%) |
| CMYK | cmyk(0%, 33%, 89%, 33%) |
| LAB | lab(52.7 15.3 55.3) |
| LCH | lch(52.7 57.4 74.6) |
| OKLCH | oklch(0.598 0.122 72.8) |
Copy-ready code
/* CSS */
color: #ab7213;
background-color: #ab7213;
/* Tailwind (arbitrary) */
class="text-[#ab7213] bg-[#ab7213]"
/* SCSS */
$brand: #ab7213;
/* SwiftUI */
Color(red: 0.671, green: 0.447, blue: 0.075)
/* Android */
Color.parseColor("#ab7213")Accessibility — WCAG contrast
Aa
#ab7213 on white: 4.08:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#ab7213 on black: 5.15:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.1%
Green44.7%
Blue7.5%
CMYK percentages
Cyan0.0%
Magenta33.3%
Yellow88.9%
Key (black)32.9%
Color previews
#ab7213 text on a black background
contrast 5.15:1
Card sample
#ab7213 text on a white background
contrast 4.08:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ab7213;
Background color
Panel with #ab7213 background
background-color: #ab7213;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ab7213;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(171, 114, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 114, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ab7213; background: linear-gradient(135deg, #ab7213, #7FAB13);