#BA8F2A#BA8F2A
#BA8F2A is a light, vivid orange. Relative luminance 0.303; OKLCH L 67.4% C 0.124 H 84.2°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #BA8F2A |
|---|---|
| RGB | rgb(186, 143, 42) |
| HSL | hsl(42, 63%, 45%) |
| HSV | hsv(42, 77%, 73%) |
| CMYK | cmyk(0%, 23.1%, 77.4%, 27.1%) |
| CIE-LAB | lab(61.87, 6.63, 56.41) |
| CIE-LCH | lch(61.87, 56.79, 83.30°) |
| OKLab | oklab(67.38% 0.0125 0.1233) |
| OKLCH | oklch(67.38% 0.124 84.2) |
| XYZ | xyz(30.4920, 30.2534, 6.4235) |
| Luminance | 0.3025 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Ochre
#BF9005
ΔE00 2.72
Darkgoldenrod
#B8860B
ΔE00 3.32
Yellowy Brown
#AE8B0C
ΔE00 3.93
Dark Gold
#B59410
ΔE00 4.53
Yellow Brown
#B79400
ΔE00 4.62
Baby Shit Brown
#AD900D
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA8F2A #2A55BA
analogous
#BA472A #BA8F2A #9DBA2A
triadic
#BA8F2A #2ABA8F #8F2ABA
tetradic
#BA8F2A #2ABA47 #2A55BA #BA2A9D
square
#BA8F2A #2ABA47 #2A55BA #BA2A9D
split-complementary
#BA8F2A #2A9DBA #472ABA
monochromatic
#564213 #88691F #BA8F2A #D6AD4B #E2C37D
Accessibility & contrast
On white
2.98
#BA8F2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.05
#BA8F2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA8F2A
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA8F2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA8F2A | 1.00 | 2.98 | 7.05 | 7.05 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A28F18
Deuteranopia (green-blind)
#AC9A2F
Tritanopia (blue-blind)
#CA817B
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #ba8f2a; /* rgb */ color: rgb(186, 143, 42); /* oklch */ color: oklch(67.4% 0.124 84.2);
Tailwind
colors: {
custom: {
50: '#d3af6b',
500: '#ba8f2a',
950: '#000000',
},
}SCSS
$custom: #ba8f2a; $custom-light: #d3af6b; $custom-dark: #000000;
JSON
{
"hex": "#ba8f2a",
"rgb": {
"r": 186,
"g": 143,
"b": 42
},
"hsl": {
"h": 42.083,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.67377,
"c": 0.12394,
"h": 84.2
},
"luminance": 0.30251
}Semantic roles & 50–950 ramp
primary
#BA8F2A
secondary
#768FCA
accent
#73E642
background
#FDFAF6
surface
#FBF4EC
border
#D4CEC7
text
#151007
muted
#837F7A