#BA7F38#BA7F38
#BA7F38 is a light, moderate orange. Relative luminance 0.259; OKLCH L 64.3% C 0.113 H 68.2°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #BA7F38 |
|---|---|
| RGB | rgb(186, 127, 56) |
| HSL | hsl(33, 54%, 47%) |
| HSV | hsv(33, 70%, 73%) |
| CMYK | cmyk(0%, 31.7%, 69.9%, 27.1%) |
| CIE-LAB | lab(57.95, 16.14, 46.48) |
| CIE-LCH | lch(57.95, 49.20, 70.85°) |
| OKLab | oklab(64.34% 0.0421 0.105) |
| OKLCH | oklch(64.34% 0.113 68.2) |
| XYZ | xyz(28.5549, 25.9058, 7.2371) |
| Luminance | 0.2590 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Leather
#AC7434
ΔE00 4.33
Peru
#CD853F
ΔE00 4.62
Bronze
#CD7F32
ΔE00 4.72
Copper
#B87333
ΔE00 4.85
Caramel
#C68E4E
ΔE00 4.89
Tan Brown
#AB7E4C
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA7F38 #3873BA
analogous
#BA3E38 #BA7F38 #B4BA38
triadic
#BA7F38 #38BA7F #7F38BA
tetradic
#BA7F38 #38BA3E #3873BA #BA38B4
square
#BA7F38 #38BA3E #3873BA #BA38B4
split-complementary
#BA7F38 #38B4BA #3E38BA
monochromatic
#5C3F1C #8B5F2A #BA7F38 #CF9D60 #DDBA8F
Accessibility & contrast
On white
3.40
#BA7F38 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.18
#BA7F38 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA7F38
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA7F38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA7F38 | 1.00 | 3.40 | 6.18 | 6.18 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938330
Deuteranopia (green-blind)
#A1913A
Tritanopia (blue-blind)
#CA7170
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #ba7f38; /* rgb */ color: rgb(186, 127, 56); /* oklch */ color: oklch(64.3% 0.113 68.2);
Tailwind
colors: {
custom: {
50: '#d3a472',
500: '#ba7f38',
950: '#000000',
},
}SCSS
$custom: #ba7f38; $custom-light: #d3a472; $custom-dark: #000000;
JSON
{
"hex": "#ba7f38",
"rgb": {
"r": 186,
"g": 127,
"b": 56
},
"hsl": {
"h": 32.769,
"s": 53.719,
"l": 47.451
},
"oklch": {
"l": 0.64342,
"c": 0.11312,
"h": 68.2
},
"luminance": 0.25903
}Semantic roles & 50–950 ramp
primary
#BA7F38
secondary
#86A4C8
accent
#8DDD4B
background
#FDFAF7
surface
#FBF4ED
border
#D4CEC8
text
#150F08
muted
#837F7B