#BA8E31#BA8E31
#BA8E31 is a light, moderate orange. Relative luminance 0.300; OKLCH L 67.2% C 0.119 H 82.4°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).
Color values
| HEX | #BA8E31 |
|---|---|
| RGB | rgb(186, 142, 49) |
| HSL | hsl(41, 58%, 46%) |
| HSV | hsv(41, 74%, 73%) |
| CMYK | cmyk(0%, 23.7%, 73.7%, 27.1%) |
| CIE-LAB | lab(61.66, 7.48, 53.43) |
| CIE-LCH | lch(61.66, 53.95, 82.03°) |
| OKLab | oklab(67.23% 0.0158 0.1184) |
| OKLCH | oklch(67.23% 0.119 82.4) |
| XYZ | xyz(30.4790, 30.0091, 7.0922) |
| Luminance | 0.3001 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Darkgoldenrod
#B8860B
ΔE00 3.44
Ochre
#BF9005
ΔE00 3.70
Yellowy Brown
#AE8B0C
ΔE00 4.81
Dark Tan
#AF884A
ΔE00 5.50
Dark Gold
#B59410
ΔE00 5.63
Mustard Brown
#AC7E04
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA8E31 #315DBA
analogous
#BA4931 #BA8E31 #A1BA31
triadic
#BA8E31 #31BA8E #8E31BA
tetradic
#BA8E31 #31BA49 #315DBA #BA31A1
square
#BA8E31 #31BA49 #315DBA #BA31A1
split-complementary
#BA8E31 #31A1BA #4931BA
monochromatic
#594417 #8A6924 #BA8E31 #D2AA56 #DFC386
Accessibility & contrast
On white
3.00
#BA8E31 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
7.00
#BA8E31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA8E31
7.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA8E31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA8E31 | 1.00 | 3.00 | 7.00 | 7.00 |
| #FFFFFF | 3.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A08E24
Deuteranopia (green-blind)
#AB9A35
Tritanopia (blue-blind)
#CA817B
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #ba8e31; /* rgb */ color: rgb(186, 142, 49); /* oklch */ color: oklch(67.2% 0.119 82.4);
Tailwind
colors: {
custom: {
50: '#d3ae6f',
500: '#ba8e31',
950: '#000000',
},
}SCSS
$custom: #ba8e31; $custom-light: #d3ae6f; $custom-dark: #000000;
JSON
{
"hex": "#ba8e31",
"rgb": {
"r": 186,
"g": 142,
"b": 49
},
"hsl": {
"h": 40.73,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.67227,
"c": 0.11948,
"h": 82.4
},
"luminance": 0.30007
}Semantic roles & 50–950 ramp
primary
#BA8E31
secondary
#7E96C9
accent
#78E246
background
#FDFAF6
surface
#FBF4EC
border
#D4CEC7
text
#151008
muted
#837F7B