#BA7F31#BA7F31
#BA7F31 is a light, moderate orange. Relative luminance 0.258; OKLCH L 64.3% C 0.117 H 70.1°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #BA7F31 |
|---|---|
| RGB | rgb(186, 127, 49) |
| HSL | hsl(34, 58%, 46%) |
| HSV | hsv(34, 74%, 73%) |
| CMYK | cmyk(0%, 31.7%, 73.7%, 27.1%) |
| CIE-LAB | lab(57.89, 15.77, 49.64) |
| CIE-LCH | lch(57.89, 52.08, 72.37°) |
| OKLab | oklab(64.28% 0.04 0.1104) |
| OKLCH | oklch(64.28% 0.117 70.1) |
| XYZ | xyz(28.3955, 25.8421, 6.3977) |
| Luminance | 0.2584 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Leather
#AC7434
ΔE00 4.79
Golden Brown
#B27A01
ΔE00 5.06
Bronze
#CD7F32
ΔE00 5.23
Peru
#CD853F
ΔE00 5.27
Dirty Orange
#C87606
ΔE00 5.33
Caramel
#C68E4E
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA7F31 #316CBA
analogous
#BA3B31 #BA7F31 #B0BA31
triadic
#BA7F31 #31BA7F #7F31BA
tetradic
#BA7F31 #31BA3B #316CBA #BA31B0
square
#BA7F31 #31BA3B #316CBA #BA31B0
split-complementary
#BA7F31 #31B0BA #3B31BA
monochromatic
#593D17 #8A5E24 #BA7F31 #D29D56 #DFB986
Accessibility & contrast
On white
3.40
#BA7F31 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.17
#BA7F31 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA7F31
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA7F31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA7F31 | 1.00 | 3.40 | 6.17 | 6.17 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938327
Deuteranopia (green-blind)
#A19133
Tritanopia (blue-blind)
#CB716F
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #ba7f31; /* rgb */ color: rgb(186, 127, 49); /* oklch */ color: oklch(64.3% 0.117 70.1);
Tailwind
colors: {
custom: {
50: '#d4a46e',
500: '#ba7f31',
950: '#000000',
},
}SCSS
$custom: #ba7f31; $custom-light: #d4a46e; $custom-dark: #000000;
JSON
{
"hex": "#ba7f31",
"rgb": {
"r": 186,
"g": 127,
"b": 49
},
"hsl": {
"h": 34.161,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.64275,
"c": 0.11739,
"h": 70.1
},
"luminance": 0.2584
}Semantic roles & 50–950 ramp
primary
#BA7F31
secondary
#7E9EC9
accent
#89E246
background
#FDFAF6
surface
#FBF4EC
border
#D4CEC7
text
#150F07
muted
#837F7A