#BA8B31#BA8B31
#BA8B31 is a light, moderate orange. Relative luminance 0.291; OKLCH L 66.6% C 0.119 H 80.0°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #BA8B31 |
|---|---|
| RGB | rgb(186, 139, 49) |
| HSL | hsl(39, 58%, 46%) |
| HSV | hsv(39, 74%, 73%) |
| CMYK | cmyk(0%, 25.3%, 73.7%, 27.1%) |
| CIE-LAB | lab(60.89, 9.14, 52.67) |
| CIE-LCH | lch(60.89, 53.45, 80.16°) |
| OKLab | oklab(66.63% 0.0206 0.1168) |
| OKLCH | oklch(66.63% 0.119 80) |
| XYZ | xyz(30.0387, 29.1284, 6.9454) |
| Luminance | 0.2913 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Darkgoldenrod
#B8860B
ΔE00 3.19
Ochre
#BF9005
ΔE00 4.53
Dark Tan
#AF884A
ΔE00 4.88
Mustard Brown
#AC7E04
ΔE00 5.22
Yellowy Brown
#AE8B0C
ΔE00 5.70
Golden Brown
#B27A01
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA8B31 #3160BA
analogous
#BA4631 #BA8B31 #A4BA31
triadic
#BA8B31 #31BA8B #8B31BA
tetradic
#BA8B31 #31BA46 #3160BA #BA31A4
square
#BA8B31 #31BA46 #3160BA #BA31A4
split-complementary
#BA8B31 #31A4BA #4631BA
monochromatic
#594317 #8A6724 #BA8B31 #D2A856 #DFC186
Accessibility & contrast
On white
3.08
#BA8B31 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.83
#BA8B31 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA8B31
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA8B31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA8B31 | 1.00 | 3.08 | 6.83 | 6.83 |
| #FFFFFF | 3.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9E8C24
Deuteranopia (green-blind)
#A99835
Tritanopia (blue-blind)
#CA7D79
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #ba8b31; /* rgb */ color: rgb(186, 139, 49); /* oklch */ color: oklch(66.6% 0.119 80.0);
Tailwind
colors: {
custom: {
50: '#d3ac6f',
500: '#ba8b31',
950: '#000000',
},
}SCSS
$custom: #ba8b31; $custom-light: #d3ac6f; $custom-dark: #000000;
JSON
{
"hex": "#ba8b31",
"rgb": {
"r": 186,
"g": 139,
"b": 49
},
"hsl": {
"h": 39.416,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.66625,
"c": 0.11861,
"h": 80
},
"luminance": 0.29126
}Semantic roles & 50–950 ramp
primary
#BA8B31
secondary
#7E98C9
accent
#7CE246
background
#FDFAF6
surface
#FBF4EC
border
#D4CEC7
text
#151008
muted
#837F7B