Hex #402d00 or rgb(64,45,0) in RGB space is the tint of khaki. It has hue angle of 42.19 degrees, value = 25 and saturation = 100. #402d00 can be obtained by mixing 3 colors: 1 drop of red, 1 drop of green, 2 drops of black.
Nearest safe hex - #333300. Below you can see the block with #402d00 color and its structure: in procentage ratio and in drops of pigments. Click "TRY" button to move #402d00 to the mixer and play with it.