#BA842A#BA842A
#BA842A is a light, vivid orange. Relative luminance 0.271; OKLCH L 65.2% C 0.121 H 75.6°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #BA842A |
|---|---|
| RGB | rgb(186, 132, 42) |
| HSL | hsl(38, 63%, 45%) |
| HSV | hsv(38, 77%, 73%) |
| CMYK | cmyk(0%, 29%, 77.4%, 27.1%) |
| CIE-LAB | lab(59.08, 12.69, 53.76) |
| CIE-LCH | lch(59.08, 55.24, 76.72°) |
| OKLab | oklab(65.19% 0.0301 0.1176) |
| OKLCH | oklch(65.19% 0.121 75.6) |
| XYZ | xyz(28.9210, 27.1112, 5.8998) |
| Luminance | 0.2711 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Darkgoldenrod
#B8860B
ΔE00 3.72
Golden Brown
#B27A01
ΔE00 3.95
Mustard Brown
#AC7E04
ΔE00 4.87
Dark Tan
#AF884A
ΔE00 5.26
Bronze (survey)
#A87900
ΔE00 5.66
Caramel
#C68E4E
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA842A #2A60BA
analogous
#BA3C2A #BA842A #A8BA2A
triadic
#BA842A #2ABA84 #842ABA
tetradic
#BA842A #2ABA3C #2A60BA #BA2AA8
square
#BA842A #2ABA3C #2A60BA #BA2AA8
split-complementary
#BA842A #2AA8BA #3C2ABA
monochromatic
#563D13 #88611F #BA842A #D6A24B #E2BC7D
Accessibility & contrast
On white
3.27
#BA842A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.42
#BA842A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA842A
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA842A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA842A | 1.00 | 3.27 | 6.42 | 6.42 |
| #FFFFFF | 3.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#98861C
Deuteranopia (green-blind)
#A4932D
Tritanopia (blue-blind)
#CB7672
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #ba842a; /* rgb */ color: rgb(186, 132, 42); /* oklch */ color: oklch(65.2% 0.121 75.6);
Tailwind
colors: {
custom: {
50: '#d4a76a',
500: '#ba842a',
950: '#000000',
},
}SCSS
$custom: #ba842a; $custom-light: #d4a76a; $custom-dark: #000000;
JSON
{
"hex": "#ba842a",
"rgb": {
"r": 186,
"g": 132,
"b": 42
},
"hsl": {
"h": 37.5,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.65187,
"c": 0.12143,
"h": 75.6
},
"luminance": 0.27109
}Semantic roles & 50–950 ramp
primary
#BA842A
secondary
#7695CA
accent
#7FE642
background
#FDFAF6
surface
#FBF4EB
border
#D4CEC6
text
#150F07
muted
#837F7A