#BA7F2F#BA7F2F
#BA7F2F is a light, moderate orange. Relative luminance 0.258; OKLCH L 64.3% C 0.119 H 70.6°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #BA7F2F |
|---|---|
| RGB | rgb(186, 127, 47) |
| HSL | hsl(35, 60%, 46%) |
| HSV | hsv(35, 75%, 73%) |
| CMYK | cmyk(0%, 31.7%, 74.7%, 27.1%) |
| CIE-LAB | lab(57.87, 15.68, 50.50) |
| CIE-LCH | lch(57.87, 52.88, 72.75°) |
| OKLab | oklab(64.26% 0.0395 0.1118) |
| OKLCH | oklch(64.26% 0.119 70.6) |
| XYZ | xyz(28.3542, 25.8256, 6.1803) |
| Luminance | 0.2582 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Golden Brown
#B27A01
ΔE00 4.75
Leather
#AC7434
ΔE00 4.96
Dirty Orange
#C87606
ΔE00 5.30
Bronze
#CD7F32
ΔE00 5.41
Peru
#CD853F
ΔE00 5.48
Caramel
#C68E4E
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA7F2F #2F6ABA
analogous
#BA392F #BA7F2F #B0BA2F
triadic
#BA7F2F #2FBA7F #7F2FBA
tetradic
#BA7F2F #2FBA39 #2F6ABA #BA2FB0
square
#BA7F2F #2FBA39 #2F6ABA #BA2FB0
split-complementary
#BA7F2F #2FB0BA #392FBA
monochromatic
#583C16 #895E23 #BA7F2F #D39D53 #E0B984
Accessibility & contrast
On white
3.41
#BA7F2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#BA7F2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA7F2F
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA7F2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA7F2F | 1.00 | 3.41 | 6.16 | 6.16 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938324
Deuteranopia (green-blind)
#A19131
Tritanopia (blue-blind)
#CB706F
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #ba7f2f; /* rgb */ color: rgb(186, 127, 47); /* oklch */ color: oklch(64.3% 0.119 70.6);
Tailwind
colors: {
custom: {
50: '#d4a46c',
500: '#ba7f2f',
950: '#000000',
},
}SCSS
$custom: #ba7f2f; $custom-light: #d4a46c; $custom-dark: #000000;
JSON
{
"hex": "#ba7f2f",
"rgb": {
"r": 186,
"g": 127,
"b": 47
},
"hsl": {
"h": 34.532,
"s": 59.657,
"l": 45.686
},
"oklch": {
"l": 0.64258,
"c": 0.11854,
"h": 70.6
},
"luminance": 0.25823
}Semantic roles & 50–950 ramp
primary
#BA7F2F
secondary
#7C9DC9
accent
#88E345
background
#FDFAF6
surface
#FBF4EC
border
#D4CEC7
text
#150F07
muted
#837F7A