Brown hex code
#964B00
The hex code most sites give for brown is #964B00, which is RGB 150, 75, 0. Watch out in CSS: the keyword brown is a different color, #A52A2A, and it looks more like brick red than brown.
Click a value to copy it. Move the slider to try a lighter or darker version; the code samples further down follow it.
Runs in your browser. Nothing you type is uploaded.
Brown color codes
These are all the same brown, written for different tools. Web and app design use HEX, RGB and HSL, print uses CMYK, and CIE Lab and LCH describe the color the way the eye sees it. Click any code in the tool above to copy it.
| Format | Value |
|---|---|
| HEX | #964B00 |
| RGB | rgb(150, 75, 0) |
| HSL | hsl(30, 100%, 29%) |
| HSV | hsv(30, 100%, 59%) |
| CMYK | 0, 50, 100, 41 |
| CIE Lab | 40.4, 27.5, 50.1 |
| LCH | 40.4, 57.2, 61.3 |
| Decimal | 9,849,600 |
| Binary | 10010110 01001011 00000000 |
| CSS color name | None. The closest CSS name is saddlebrown. |

To turn any other code into these values, paste it into the hex to RGB converter.
Which brown hex code should you use?
Different color sites give different codes for brown. These are the four you are most likely to run into, where each one comes from and how they differ.
brownClearly reddish. Most people would call it brick or maroon.saddlebrownThe CSS keyword closest to #964B00.Brown is not in the rainbow. It is orange or red at a low brightness, which is why every brown here has a lot of red and very little blue. That also explains the CSS oddity: most CSS color names come from an older list made for the X Window System, and its brown was always this reddish shade. Browsers keep it so old websites do not change color.
If you want a plain brown in CSS, use #964B00 or the keyword saddlebrown, not brown.
Measured as CIE76 color distance from #964B00, #A52A2A is 29.8, #895129 is 19.0 and #8B4513 is 9.7. A distance under about 2.3 is hard to see, so all of these are visibly different from the main code. Codes checked on November 5, 2026.
Shades of brown
Brown has more named shades in CSS than almost any other color. The ones marked CSS work as color names in any stylesheet.
saddlebrownsiennachocolateperusandybrownburlywoodtanrosybrownmaroonbrownLight brown and dark brown
Each step mixes brown with 10 percent more white (tints) or black (shades), so the hue stays the same. Click a step to copy it.
Colors that go with brown
Brown is a neutral, so it goes with more colors than people expect. It looks best with cream and soft greens, or with one cool color for contrast.
Matches from the color wheel
These come from rotating the hue of #964B00 (30 degrees) around the color wheel while keeping its saturation and lightness. They fit together in theory, but check them in your design: a wheel match is a starting point, not a rule.
Brown color palettes
Three palettes built around brown, each with a light color for backgrounds and a dark one for text. Click a palette to copy all five codes.
What colors make brown?
On a screen
On #964B00, red is at 59 percent, green at 29 percent and blue at zero. That is the recipe for a dark orange, which is what brown is on a screen. Raise all three channels evenly and it turns tan. Take some green away and it turns red-brown, like the CSS brown #A52A2A.
With paint
Mix the three primaries, red, yellow and blue, or mix a color with its opposite on the color wheel: red with green, blue with orange, or yellow with purple. More red or yellow gives a warm brown and more blue gives a cooler, darker one. Add white for tan and beige. Black makes brown muddy fast, so add it a drop at a time.
Is text readable on brown?
WCAG asks for a contrast ratio of at least 4.5 to 1 for normal text and 3 to 1 for large text, which means 24px, or 19px bold. White text on #964B00 is the readable choice.
| Pairing | Contrast | Normal text | Large text |
|---|---|---|---|
| White text on brown | 6.36:1 | Passes | Passes |
| Black text on brown | 3.30:1 | Fails | Passes |
How brown looks with color blindness
With red-green color blindness brown turns olive, around #736600, so brown and dark green can look like the same color. These are approximate simulations using the Machado matrices for full color blindness. Color blindness affects about 1 in 12 men and 1 in 200 women, mostly the red-green types, so do not use brown as the only signal for something like an error or a selected state.
Brown in binary
A hex code is three bytes, one each for red, green and blue. Each pair of hex digits is one byte, and each byte is 8 bits. This is how #964B00 is stored:
| Channel | Hex | Decimal | Binary | Bits that are on |
|---|---|---|---|---|
| Red | 96 | 150 | 10010110 | 128 + 16 + 4 + 2 |
| Green | 4B | 75 | 01001011 | 64 + 8 + 2 + 1 |
| Blue | 00 | 0 | 00000000 | 0 |
Joined together that is 100101100100101100000000, a 24-bit number equal to 9,849,600 in decimal. The hex to binary converter does the same for any hex value.
Brown in CSS and code
Copy the version for your stack. The tool above updates these if you change the lightness.
/* CSS */
:root { --brown: #964B00; }
.button { background: var(--brown); color: #FFFFFF; }
<!-- Tailwind -->
<button class="bg-[#964B00] text-[#FFFFFF]">Button</button>
// SwiftUI
Color(red: 0.588, green: 0.294, blue: 0.000)
<!-- Android colors.xml -->
<color name="brown">#964B00</color>
# Python
brown = (150, 75, 0)
Brown color meaning
Brown is the color of soil, wood, leather and coffee, so it reads as natural, warm and dependable. Coffee, chocolate, outdoor gear and furniture brands use it often. Used alone it can look dull or dated, which is why it is usually paired with cream, green or one bright accent.
Where the name comes from
Brown is one of the oldest color names in English. Wikipedia dates its first recorded use to the year 1000, from the Old English word brún.
Frequently asked questions
What is the hex code for brown?
The usual brown hex code is #964B00, RGB 150, 75, 0. In CSS, the keyword brown gives #A52A2A instead, which is redder.
Why does CSS brown look red?
CSS took most of its color names from the X Window System color list, and that list defined brown as #A52A2A. It has never been changed, because existing websites depend on it.
What is the RGB code for brown?
RGB 150, 75, 0 for #964B00. CSS brown #A52A2A is RGB 165, 42, 42.
What is the hex code for dark brown?
#654321 is the common dark brown. The shades row above gives darker versions of #964B00 if you need one in the same hue.
What is the hex code for light brown?
There is no single standard. #C4A484 is the most common and #B5651D is also widely used. The light brown hex code page compares them, and the tints row above gives lighter versions of #964B00, such as #B6814C.
What two colors make brown?
In paint, any two opposite colors on the color wheel make brown: red and green, blue and orange, or yellow and purple. On a screen, brown is red with about half as much green and no blue, at low brightness.