#ba5921
a dark, vivid orange · warm · closest name: chocolate
RGB
186, 89, 33
HSL
22°, 70%, 43%
CMYK
0, 52, 82, 27
Luminance
0.1769
Every format
| HEX | #ba5921 |
| RGB | rgb(186, 89, 33) |
| HSL | hsl(22, 70%, 43%) |
| CMYK | cmyk(0%, 52%, 82%, 27%) |
| LAB | lab(49.1 35.8 48.2) |
| LCH | lch(49.1 60.0 53.4) |
| OKLCH | oklch(0.575 0.142 46.7) |
Copy-ready code
/* CSS */
color: #ba5921;
background-color: #ba5921;
/* Tailwind (arbitrary) */
class="text-[#ba5921] bg-[#ba5921]"
/* SCSS */
$brand: #ba5921;
/* SwiftUI */
Color(red: 0.729, green: 0.349, blue: 0.129)
/* Android */
Color.parseColor("#ba5921")Accessibility — WCAG contrast
Aa
#ba5921 on white: 4.63:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#ba5921 on black: 4.54:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green34.9%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta52.2%
Yellow82.3%
Key (black)27.1%
Color previews
#ba5921 text on a black background
contrast 4.54:1
Card sample
#ba5921 text on a white background
contrast 4.63:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ba5921;
Background color
Panel with #ba5921 background
background-color: #ba5921;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ba5921;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 89, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 89, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ba5921; background: linear-gradient(135deg, #ba5921, #B5BA21);