#BA8A2B#BA8A2B
#BA8A2B is a light, vivid orange. Relative luminance 0.288; OKLCH L 66.4% C 0.122 H 80.2°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #BA8A2B |
|---|---|
| RGB | rgb(186, 138, 43) |
| HSL | hsl(40, 62%, 45%) |
| HSV | hsv(40, 77%, 73%) |
| CMYK | cmyk(0%, 25.8%, 76.9%, 27.1%) |
| CIE-LAB | lab(60.60, 9.42, 54.82) |
| CIE-LCH | lch(60.60, 55.62, 80.25°) |
| OKLab | oklab(66.38% 0.0207 0.1201) |
| OKLCH | oklch(66.38% 0.122 80.2) |
| XYZ | xyz(29.7762, 28.7928, 6.2743) |
| Luminance | 0.2879 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Darkgoldenrod
#B8860B
ΔE00 2.52
Ochre
#BF9005
ΔE00 4.13
Mustard Brown
#AC7E04
ΔE00 4.74
Golden Brown
#B27A01
ΔE00 5.40
Dark Tan
#AF884A
ΔE00 5.41
Yellowy Brown
#AE8B0C
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA8A2B #2B5BBA
analogous
#BA432B #BA8A2B #A3BA2B
triadic
#BA8A2B #2BBA8A #8A2BBA
tetradic
#BA8A2B #2BBA43 #2B5BBA #BA2BA3
square
#BA8A2B #2BBA43 #2B5BBA #BA2BA3
split-complementary
#BA8A2B #2BA3BA #432BBA
monochromatic
#574014 #886520 #BA8A2B #D6A84C #E1C07E
Accessibility & contrast
On white
3.11
#BA8A2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.76
#BA8A2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA8A2B
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA8A2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA8A2B | 1.00 | 3.11 | 6.76 | 6.76 |
| #FFFFFF | 3.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D8B1B
Deuteranopia (green-blind)
#A8972F
Tritanopia (blue-blind)
#CA7C77
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #ba8a2b; /* rgb */ color: rgb(186, 138, 43); /* oklch */ color: oklch(66.4% 0.122 80.2);
Tailwind
colors: {
custom: {
50: '#d3ab6b',
500: '#ba8a2b',
950: '#000000',
},
}SCSS
$custom: #ba8a2b; $custom-light: #d3ab6b; $custom-dark: #000000;
JSON
{
"hex": "#ba8a2b",
"rgb": {
"r": 186,
"g": 138,
"b": 43
},
"hsl": {
"h": 39.86,
"s": 62.445,
"l": 44.902
},
"oklch": {
"l": 0.66379,
"c": 0.12189,
"h": 80.2
},
"luminance": 0.2879
}Semantic roles & 50–950 ramp
primary
#BA8A2B
secondary
#7793CA
accent
#79E642
background
#FDFAF6
surface
#FBF4EC
border
#D4CEC7
text
#151007
muted
#837F7A