#BA7231#BA7231
#BA7231 is a mid, vivid orange. Relative luminance 0.227; OKLCH L 61.8% C 0.120 H 59.4°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #BA7231 |
|---|---|
| RGB | rgb(186, 114, 49) |
| HSL | hsl(28, 58%, 46%) |
| HSV | hsv(28, 74%, 73%) |
| CMYK | cmyk(0%, 38.7%, 73.7%, 27.1%) |
| CIE-LAB | lab(54.76, 22.97, 46.43) |
| CIE-LCH | lch(54.76, 51.80, 63.68°) |
| OKLab | oklab(61.85% 0.0613 0.1035) |
| OKLCH | oklch(61.85% 0.12 59.4) |
| XYZ | xyz(26.8236, 22.6982, 5.8737) |
| Luminance | 0.2270 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Copper
#B87333
ΔE00 0.68
Clay Brown
#B2713D
ΔE00 2.86
Leather
#AC7434
ΔE00 4.21
Brownish Orange
#CB7723
ΔE00 4.29
Brown Orange
#B96902
ΔE00 4.69
Browny Orange
#CA6B02
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA7231 #3179BA
analogous
#BA3134 #BA7231 #BAB631
triadic
#BA7231 #31BA72 #7231BA
tetradic
#BA7231 #34BA31 #3179BA #B631BA
square
#BA7231 #34BA31 #3179BA #B631BA
split-complementary
#BA7231 #31BAB6 #3134BA
monochromatic
#593717 #8A5424 #BA7231 #D29156 #DFB086
Accessibility & contrast
On white
3.79
#BA7231 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.54
#BA7231 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA7231
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA7231 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA7231 | 1.00 | 3.79 | 5.54 | 5.54 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887929
Deuteranopia (green-blind)
#998931
Tritanopia (blue-blind)
#CB6264
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #ba7231; /* rgb */ color: rgb(186, 114, 49); /* oklch */ color: oklch(61.8% 0.120 59.4);
Tailwind
colors: {
custom: {
50: '#d49b6d',
500: '#ba7231',
950: '#000000',
},
}SCSS
$custom: #ba7231; $custom-light: #d49b6d; $custom-dark: #000000;
JSON
{
"hex": "#ba7231",
"rgb": {
"r": 186,
"g": 114,
"b": 49
},
"hsl": {
"h": 28.467,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.61848,
"c": 0.12031,
"h": 59.4
},
"luminance": 0.22695
}Semantic roles & 50–950 ramp
primary
#BA7231
secondary
#7EA5C9
accent
#98E246
background
#FDF9F6
surface
#FBF2EC
border
#D4CCC7
text
#150E07
muted
#837E7A