#BA7E31#BA7E31
#BA7E31 is a light, moderate orange. Relative luminance 0.256; OKLCH L 64.1% C 0.117 H 69.2°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #BA7E31 |
|---|---|
| RGB | rgb(186, 126, 49) |
| HSL | hsl(34, 58%, 46%) |
| HSV | hsv(34, 74%, 73%) |
| CMYK | cmyk(0%, 32.3%, 73.7%, 27.1%) |
| CIE-LAB | lab(57.64, 16.33, 49.39) |
| CIE-LCH | lch(57.64, 52.02, 71.71°) |
| OKLab | oklab(64.08% 0.0417 0.1098) |
| OKLCH | oklch(64.08% 0.117 69.2) |
| XYZ | xyz(28.2670, 25.5851, 6.3548) |
| Luminance | 0.2558 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Leather
#AC7434
ΔE00 4.47
Bronze
#CD7F32
ΔE00 4.97
Dirty Orange
#C87606
ΔE00 5.08
Peru
#CD853F
ΔE00 5.12
Copper
#B87333
ΔE00 5.20
Golden Brown
#B27A01
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA7E31 #316DBA
analogous
#BA3A31 #BA7E31 #B1BA31
triadic
#BA7E31 #31BA7E #7E31BA
tetradic
#BA7E31 #31BA3A #316DBA #BA31B1
square
#BA7E31 #31BA3A #316DBA #BA31B1
split-complementary
#BA7E31 #31B1BA #3A31BA
monochromatic
#593C17 #8A5D24 #BA7E31 #D29C56 #DFB886
Accessibility & contrast
On white
3.43
#BA7E31 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.12
#BA7E31 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA7E31
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA7E31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA7E31 | 1.00 | 3.43 | 6.12 | 6.12 |
| #FFFFFF | 3.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928227
Deuteranopia (green-blind)
#A09033
Tritanopia (blue-blind)
#CB6F6E
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #ba7e31; /* rgb */ color: rgb(186, 126, 49); /* oklch */ color: oklch(64.1% 0.117 69.2);
Tailwind
colors: {
custom: {
50: '#d4a36e',
500: '#ba7e31',
950: '#000000',
},
}SCSS
$custom: #ba7e31; $custom-light: #d4a36e; $custom-dark: #000000;
JSON
{
"hex": "#ba7e31",
"rgb": {
"r": 186,
"g": 126,
"b": 49
},
"hsl": {
"h": 33.723,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.64084,
"c": 0.11746,
"h": 69.2
},
"luminance": 0.25583
}Semantic roles & 50–950 ramp
primary
#BA7E31
secondary
#7E9FC9
accent
#8AE246
background
#FDFAF6
surface
#FBF3EC
border
#D4CDC7
text
#150F07
muted
#837F7A