#ba6021
a dark, vivid orange · warm · closest name: chocolate
RGB
186, 96, 33
HSL
25°, 70%, 43%
CMYK
0, 48, 82, 27
Luminance
0.1891
Every format
| HEX | #ba6021 |
| RGB | rgb(186, 96, 33) |
| HSL | hsl(25, 70%, 43%) |
| CMYK | cmyk(0%, 48%, 82%, 27%) |
| LAB | lab(50.6 32.1 49.5) |
| LCH | lch(50.6 59.0 57.1) |
| OKLCH | oklch(0.586 0.137 50.9) |
Copy-ready code
/* CSS */
color: #ba6021;
background-color: #ba6021;
/* Tailwind (arbitrary) */
class="text-[#ba6021] bg-[#ba6021]"
/* SCSS */
$brand: #ba6021;
/* SwiftUI */
Color(red: 0.729, green: 0.376, blue: 0.129)
/* Android */
Color.parseColor("#ba6021")Accessibility — WCAG contrast
Aa
#ba6021 on white: 4.39:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#ba6021 on black: 4.78:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green37.6%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta48.4%
Yellow82.3%
Key (black)27.1%
Color previews
#ba6021 text on a black background
contrast 4.78:1
Card sample
#ba6021 text on a white background
contrast 4.39:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ba6021;
Background color
Panel with #ba6021 background
background-color: #ba6021;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ba6021;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 96, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 96, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ba6021; background: linear-gradient(135deg, #ba6021, #AEBA21);