#BA8E40#BA8E40
#BA8E40 is a light, moderate orange. Relative luminance 0.302; OKLCH L 67.4% C 0.109 H 79.3°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #BA8E40 |
|---|---|
| RGB | rgb(186, 142, 64) |
| HSL | hsl(38, 49%, 49%) |
| HSV | hsv(38, 66%, 73%) |
| CMYK | cmyk(0%, 23.7%, 65.6%, 27.1%) |
| CIE-LAB | lab(61.79, 8.32, 46.85) |
| CIE-LCH | lch(61.79, 47.58, 79.93°) |
| OKLab | oklab(67.37% 0.0202 0.1071) |
| OKLCH | oklch(67.37% 0.109 79.3) |
| XYZ | xyz(30.8499, 30.1574, 9.0456) |
| Luminance | 0.3015 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Dark Tan
#AF884A
ΔE00 3.66
Darkgoldenrod
#B8860B
ΔE00 5.12
Camel (survey)
#C69F59
ΔE00 5.29
Caramel
#C68E4E
ΔE00 5.39
Ochre
#BF9005
ΔE00 5.93
Dark Sand
#A88F59
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA8E40 #406CBA
analogous
#BA5140 #BA8E40 #A9BA40
triadic
#BA8E40 #40BA8E #8E40BA
tetradic
#BA8E40 #40BA51 #406CBA #BA40A9
square
#BA8E40 #40BA51 #406CBA #BA40A9
split-complementary
#BA8E40 #40A9BA #5140BA
monochromatic
#5F4821 #8C6B30 #BA8E40 #CCA96B #DCC499
Accessibility & contrast
On white
2.99
#BA8E40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.03
#BA8E40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA8E40
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA8E40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA8E40 | 1.00 | 2.99 | 7.03 | 7.03 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9F8F38
Deuteranopia (green-blind)
#AA9A43
Tritanopia (blue-blind)
#C9817D
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #ba8e40; /* rgb */ color: rgb(186, 142, 64); /* oklch */ color: oklch(67.4% 0.109 79.3);
Tailwind
colors: {
custom: {
50: '#d2ae78',
500: '#ba8e40',
950: '#000000',
},
}SCSS
$custom: #ba8e40; $custom-light: #d2ae78; $custom-dark: #000000;
JSON
{
"hex": "#ba8e40",
"rgb": {
"r": 186,
"g": 142,
"b": 64
},
"hsl": {
"h": 38.361,
"s": 48.8,
"l": 49.02
},
"oklch": {
"l": 0.67368,
"c": 0.10901,
"h": 79.3
},
"luminance": 0.30155
}Semantic roles & 50–950 ramp
primary
#BA8E40
secondary
#8EA3C8
accent
#81D84F
background
#FDFAF7
surface
#FAF4ED
border
#D3CEC8
text
#151009
muted
#837F7B