#BA8F2F#BA8F2F
#BA8F2F is a light, vivid orange. Relative luminance 0.303; OKLCH L 67.4% C 0.121 H 83.5°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #BA8F2F |
|---|---|
| RGB | rgb(186, 143, 47) |
| HSL | hsl(41, 60%, 46%) |
| HSV | hsv(41, 75%, 73%) |
| CMYK | cmyk(0%, 23.1%, 74.7%, 27.1%) |
| CIE-LAB | lab(61.90, 6.84, 54.49) |
| CIE-LCH | lch(61.90, 54.92, 82.84°) |
| OKLab | oklab(67.41% 0.0137 0.1203) |
| OKLCH | oklch(67.41% 0.121 83.5) |
| XYZ | xyz(30.5872, 30.2915, 6.9246) |
| Luminance | 0.3029 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Ochre
#BF9005
ΔE00 3.27
Darkgoldenrod
#B8860B
ΔE00 3.53
Yellowy Brown
#AE8B0C
ΔE00 4.37
Dark Gold
#B59410
ΔE00 5.02
Yellow Brown
#B79400
ΔE00 5.15
Dark Mustard
#A88905
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA8F2F #2F5ABA
analogous
#BA492F #BA8F2F #9FBA2F
triadic
#BA8F2F #2FBA8F #8F2FBA
tetradic
#BA8F2F #2FBA49 #2F5ABA #BA2F9F
square
#BA8F2F #2FBA49 #2F5ABA #BA2F9F
split-complementary
#BA8F2F #2F9FBA #492FBA
monochromatic
#584416 #896923 #BA8F2F #D3AC53 #E0C384
Accessibility & contrast
On white
2.98
#BA8F2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.06
#BA8F2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA8F2F
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA8F2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA8F2F | 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)
#A18F20
Deuteranopia (green-blind)
#AC9A33
Tritanopia (blue-blind)
#CA817C
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #ba8f2f; /* rgb */ color: rgb(186, 143, 47); /* oklch */ color: oklch(67.4% 0.121 83.5);
Tailwind
colors: {
custom: {
50: '#d3af6e',
500: '#ba8f2f',
950: '#000000',
},
}SCSS
$custom: #ba8f2f; $custom-light: #d3af6e; $custom-dark: #000000;
JSON
{
"hex": "#ba8f2f",
"rgb": {
"r": 186,
"g": 143,
"b": 47
},
"hsl": {
"h": 41.439,
"s": 59.657,
"l": 45.686
},
"oklch": {
"l": 0.67413,
"c": 0.12105,
"h": 83.5
},
"luminance": 0.30289
}Semantic roles & 50–950 ramp
primary
#BA8F2F
secondary
#7C94C9
accent
#76E345
background
#FDFAF6
surface
#FBF4EC
border
#D4CEC7
text
#151007
muted
#837F7A