#BA6821#BA6821
#BA6821 is a mid, vivid orange. Relative luminance 0.204; OKLCH L 59.9% C 0.132 H 56.2°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #BA6821 |
|---|---|
| RGB | rgb(186, 104, 33) |
| HSL | hsl(28, 70%, 43%) |
| HSV | hsv(28, 82%, 73%) |
| CMYK | cmyk(0%, 44.1%, 82.3%, 27.1%) |
| CIE-LAB | lab(52.34, 27.79, 51.10) |
| CIE-LCH | lch(52.34, 58.17, 61.46°) |
| OKLab | oklab(59.95% 0.0734 0.1096) |
| OKLCH | oklch(59.95% 0.132 56.2) |
| XYZ | xyz(25.4769, 20.4524, 4.0446) |
| Luminance | 0.2045 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Copper (survey)
#B66325
ΔE00 2.51
Orange Brown
#BE6400
ΔE00 2.66
Orangish Brown
#B25F03
ΔE00 3.77
Brown Orange
#B96902
ΔE00 3.79
Copper
#B87333
ΔE00 3.79
Orangey Brown
#B16002
ΔE00 3.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA6821 #2173BA
analogous
#BA2127 #BA6821 #BAB421
triadic
#BA6821 #21BA68 #6821BA
tetradic
#BA6821 #27BA21 #2173BA #B421BA
square
#BA6821 #27BA21 #2173BA #B421BA
split-complementary
#BA6821 #21BAB4 #2127BA
monochromatic
#522E0F #864B18 #BA6821 #DC863C #E6A670
Accessibility & contrast
On white
4.13
#BA6821 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#BA6821 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA6821
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA6821 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA6821 | 1.00 | 4.13 | 5.09 | 5.09 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807115
Deuteranopia (green-blind)
#948421
Tritanopia (blue-blind)
#CC565A
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #ba6821; /* rgb */ color: rgb(186, 104, 33); /* oklch */ color: oklch(59.9% 0.132 56.2);
Tailwind
colors: {
custom: {
50: '#d59463',
500: '#ba6821',
950: '#000000',
},
}SCSS
$custom: #ba6821; $custom-light: #d59463; $custom-dark: #000000;
JSON
{
"hex": "#ba6821",
"rgb": {
"r": 186,
"g": 104,
"b": 33
},
"hsl": {
"h": 27.843,
"s": 69.863,
"l": 42.941
},
"oklch": {
"l": 0.59947,
"c": 0.13192,
"h": 56.2
},
"luminance": 0.2045
}Semantic roles & 50–950 ramp
primary
#BA6821
secondary
#6B9FCC
accent
#9AED3B
background
#FEF9F6
surface
#FCF1EB
border
#D5CBC6
text
#160D05
muted
#847E7A