#BA9540#BA9540
#BA9540 is a light, moderate orange. Relative luminance 0.323; OKLCH L 68.8% C 0.112 H 85.4°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #BA9540 |
|---|---|
| RGB | rgb(186, 149, 64) |
| HSL | hsl(42, 49%, 49%) |
| HSV | hsv(42, 66%, 73%) |
| CMYK | cmyk(0%, 19.9%, 65.6%, 27.1%) |
| CIE-LAB | lab(63.60, 4.48, 48.83) |
| CIE-LCH | lch(63.60, 49.03, 84.76°) |
| OKLab | oklab(68.79% 0.0091 0.1113) |
| OKLCH | oklch(68.79% 0.112 85.4) |
| XYZ | xyz(31.9243, 32.3062, 9.4037) |
| Luminance | 0.3230 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Camel (survey)
#C69F59
ΔE00 4.39
Ochre
#BF9005
ΔE00 5.07
Dark Gold
#B59410
ΔE00 5.23
Yellowy Brown
#AE8B0C
ΔE00 5.53
Yellow Brown
#B79400
ΔE00 5.61
Sandy Brown
#C4A661
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA9540 #4065BA
analogous
#BA5840 #BA9540 #A2BA40
triadic
#BA9540 #40BA95 #9540BA
tetradic
#BA9540 #40BA58 #4065BA #BA40A2
square
#BA9540 #40BA58 #4065BA #BA40A2
split-complementary
#BA9540 #40A2BA #5840BA
monochromatic
#5F4C21 #8C7130 #BA9540 #CCAF6B #DCC799
Accessibility & contrast
On white
2.81
#BA9540 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.46
#BA9540 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA9540
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA9540 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA9540 | 1.00 | 2.81 | 7.46 | 7.46 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A69437
Deuteranopia (green-blind)
#AF9E43
Tritanopia (blue-blind)
#C98983
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #ba9540; /* rgb */ color: rgb(186, 149, 64); /* oklch */ color: oklch(68.8% 0.112 85.4);
Tailwind
colors: {
custom: {
50: '#d2b378',
500: '#ba9540',
950: '#000000',
},
}SCSS
$custom: #ba9540; $custom-light: #d2b378; $custom-dark: #000000;
JSON
{
"hex": "#ba9540",
"rgb": {
"r": 186,
"g": 149,
"b": 64
},
"hsl": {
"h": 41.803,
"s": 48.8,
"l": 49.02
},
"oklch": {
"l": 0.68785,
"c": 0.11171,
"h": 85.4
},
"luminance": 0.32304
}Semantic roles & 50–950 ramp
primary
#BA9540
secondary
#8EA0C8
accent
#79D84F
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151109
muted
#83807B