#BA8C31#BA8C31
#BA8C31 is a light, moderate orange. Relative luminance 0.294; OKLCH L 66.8% C 0.119 H 80.8°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #BA8C31 |
|---|---|
| RGB | rgb(186, 140, 49) |
| HSL | hsl(40, 58%, 46%) |
| HSV | hsv(40, 74%, 73%) |
| CMYK | cmyk(0%, 24.7%, 73.7%, 27.1%) |
| CIE-LAB | lab(61.15, 8.58, 52.92) |
| CIE-LCH | lch(61.15, 53.61, 80.79°) |
| OKLab | oklab(66.83% 0.019 0.1173) |
| OKLCH | oklch(66.83% 0.119 80.8) |
| XYZ | xyz(30.1841, 29.4193, 6.9939) |
| Luminance | 0.2942 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Darkgoldenrod
#B8860B
ΔE00 3.21
Ochre
#BF9005
ΔE00 4.22
Dark Tan
#AF884A
ΔE00 5.06
Mustard Brown
#AC7E04
ΔE00 5.33
Yellowy Brown
#AE8B0C
ΔE00 5.38
Golden Brown
#B27A01
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA8C31 #315FBA
analogous
#BA4731 #BA8C31 #A3BA31
triadic
#BA8C31 #31BA8C #8C31BA
tetradic
#BA8C31 #31BA47 #315FBA #BA31A3
square
#BA8C31 #31BA47 #315FBA #BA31A3
split-complementary
#BA8C31 #31A3BA #4731BA
monochromatic
#594317 #8A6824 #BA8C31 #D2A956 #DFC186
Accessibility & contrast
On white
3.05
#BA8C31 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.88
#BA8C31 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA8C31
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA8C31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA8C31 | 1.00 | 3.05 | 6.88 | 6.88 |
| #FFFFFF | 3.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9F8D24
Deuteranopia (green-blind)
#A99835
Tritanopia (blue-blind)
#CA7E7A
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #ba8c31; /* rgb */ color: rgb(186, 140, 49); /* oklch */ color: oklch(66.8% 0.119 80.8);
Tailwind
colors: {
custom: {
50: '#d3ad6f',
500: '#ba8c31',
950: '#000000',
},
}SCSS
$custom: #ba8c31; $custom-light: #d3ad6f; $custom-dark: #000000;
JSON
{
"hex": "#ba8c31",
"rgb": {
"r": 186,
"g": 140,
"b": 49
},
"hsl": {
"h": 39.854,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.66825,
"c": 0.11887,
"h": 80.8
},
"luminance": 0.29417
}Semantic roles & 50–950 ramp
primary
#BA8C31
secondary
#7E97C9
accent
#7AE246
background
#FDFAF6
surface
#FBF4EC
border
#D4CEC7
text
#151008
muted
#837F7B