#BA8F2E#BA8F2E
#BA8F2E is a light, vivid orange. Relative luminance 0.303; OKLCH L 67.4% C 0.122 H 83.6°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #BA8F2E |
|---|---|
| RGB | rgb(186, 143, 46) |
| HSL | hsl(42, 60%, 45%) |
| HSV | hsv(42, 75%, 73%) |
| CMYK | cmyk(0%, 23.1%, 75.3%, 27.1%) |
| CIE-LAB | lab(61.90, 6.80, 54.88) |
| CIE-LCH | lch(61.90, 55.30, 82.94°) |
| OKLab | oklab(67.41% 0.0135 0.1209) |
| OKLCH | oklch(67.41% 0.122 83.6) |
| XYZ | xyz(30.5672, 30.2835, 6.8196) |
| Luminance | 0.3028 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Ochre
#BF9005
ΔE00 3.15
Darkgoldenrod
#B8860B
ΔE00 3.48
Yellowy Brown
#AE8B0C
ΔE00 4.27
Dark Gold
#B59410
ΔE00 4.91
Yellow Brown
#B79400
ΔE00 5.03
Baby Shit Brown
#AD900D
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA8F2E #2E59BA
analogous
#BA492E #BA8F2E #9FBA2E
triadic
#BA8F2E #2EBA8F #8F2EBA
tetradic
#BA8F2E #2EBA49 #2E59BA #BA2E9F
square
#BA8F2E #2EBA49 #2E59BA #BA2E9F
split-complementary
#BA8F2E #2E9FBA #492EBA
monochromatic
#584416 #896922 #BA8F2E #D4AC51 #E0C382
Accessibility & contrast
On white
2.98
#BA8F2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.06
#BA8F2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA8F2E
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA8F2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA8F2E | 1.00 | 2.98 | 7.06 | 7.06 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A18F1F
Deuteranopia (green-blind)
#AC9A32
Tritanopia (blue-blind)
#CA817C
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #ba8f2e; /* rgb */ color: rgb(186, 143, 46); /* oklch */ color: oklch(67.4% 0.122 83.6);
Tailwind
colors: {
custom: {
50: '#d3af6d',
500: '#ba8f2e',
950: '#000000',
},
}SCSS
$custom: #ba8f2e; $custom-light: #d3af6d; $custom-dark: #000000;
JSON
{
"hex": "#ba8f2e",
"rgb": {
"r": 186,
"g": 143,
"b": 46
},
"hsl": {
"h": 41.571,
"s": 60.345,
"l": 45.49
},
"oklch": {
"l": 0.67405,
"c": 0.12165,
"h": 83.6
},
"luminance": 0.30281
}Semantic roles & 50–950 ramp
primary
#BA8F2E
secondary
#7B93C9
accent
#75E344
background
#FDFAF6
surface
#FBF4EC
border
#D4CEC7
text
#151007
muted
#837F7A