#BA8B2F#BA8B2F
#BA8B2F is a light, moderate orange. Relative luminance 0.291; OKLCH L 66.6% C 0.120 H 80.3°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #BA8B2F |
|---|---|
| RGB | rgb(186, 139, 47) |
| HSL | hsl(40, 60%, 46%) |
| HSV | hsv(40, 75%, 73%) |
| CMYK | cmyk(0%, 25.3%, 74.7%, 27.1%) |
| CIE-LAB | lab(60.88, 9.04, 53.48) |
| CIE-LCH | lch(60.88, 54.24, 80.40°) |
| OKLab | oklab(66.61% 0.0201 0.1181) |
| OKLCH | oklch(66.61% 0.12 80.3) |
| XYZ | xyz(29.9974, 29.1119, 6.7280) |
| Luminance | 0.2911 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Darkgoldenrod
#B8860B
ΔE00 2.96
Ochre
#BF9005
ΔE00 4.27
Mustard Brown
#AC7E04
ΔE00 5.09
Dark Tan
#AF884A
ΔE00 5.11
Yellowy Brown
#AE8B0C
ΔE00 5.48
Golden Brown
#B27A01
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA8B2F #2F5EBA
analogous
#BA452F #BA8B2F #A3BA2F
triadic
#BA8B2F #2FBA8B #8B2FBA
tetradic
#BA8B2F #2FBA45 #2F5EBA #BA2FA3
square
#BA8B2F #2FBA45 #2F5EBA #BA2FA3
split-complementary
#BA8B2F #2FA3BA #452FBA
monochromatic
#584216 #896623 #BA8B2F #D3A853 #E0C184
Accessibility & contrast
On white
3.08
#BA8B2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.82
#BA8B2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA8B2F
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA8B2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA8B2F | 1.00 | 3.08 | 6.82 | 6.82 |
| #FFFFFF | 3.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9E8C21
Deuteranopia (green-blind)
#A99833
Tritanopia (blue-blind)
#CA7D78
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #ba8b2f; /* rgb */ color: rgb(186, 139, 47); /* oklch */ color: oklch(66.6% 0.120 80.3);
Tailwind
colors: {
custom: {
50: '#d3ac6e',
500: '#ba8b2f',
950: '#000000',
},
}SCSS
$custom: #ba8b2f; $custom-light: #d3ac6e; $custom-dark: #000000;
JSON
{
"hex": "#ba8b2f",
"rgb": {
"r": 186,
"g": 139,
"b": 47
},
"hsl": {
"h": 39.712,
"s": 59.657,
"l": 45.686
},
"oklch": {
"l": 0.66609,
"c": 0.11983,
"h": 80.3
},
"luminance": 0.2911
}Semantic roles & 50–950 ramp
primary
#BA8B2F
secondary
#7C96C9
accent
#7AE345
background
#FDFAF6
surface
#FBF4EC
border
#D4CEC7
text
#151007
muted
#837F7A