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.

0

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.

FormatValue
HEX#964B00
RGBrgb(150, 75, 0)
HSLhsl(30, 100%, 29%)
HSVhsv(30, 100%, 59%)
CMYK0, 50, 100, 41
CIE Lab40.4, 27.5, 50.1
LCH40.4, 57.2, 61.3
Decimal9,849,600
Binary10010110 01001011 00000000
CSS color nameNone. The closest CSS name is saddlebrown.
Brown swatch, hex #964B00, with lighter and darker shades

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.

#964B00Traditional brown, used by Wikipedia and EncycolorpediaA warm brown that leans toward orange.
#A52A2ACSS and HTML color name brownClearly reddish. Most people would call it brick or maroon.
#895129Figma's color librarySofter and a little lighter, with a touch of red.
#8B4513CSS color name 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.

Brown (traditional)#964B00Wikipedia
Dark brown#654321Common code
Saddle brown#8B4513CSS saddlebrown
Sienna#A0522DCSS sienna
Chocolate#D2691ECSS chocolate
Peru#CD853FCSS peru
Sandy brown#F4A460CSS sandybrown
Burlywood#DEB887CSS burlywood
Tan#D2B48CCSS tan
Rosy brown#BC8F8FCSS rosybrown
Maroon#800000CSS maroon
Brown (CSS)#A52A2ACSS brown

Light 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.

964B00A05D1AAB6F33B6814CC09366CAA580D5B799E0C9B2EADBCCF4EDE6
#964B00White
964B00874400783C006934005A2D004B26003C1E002D16001E0F000F0800
#964B00Black

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.

Cream#FFFDD0The easiest pair. Warm and calm, like coffee with milk.
Sage green#9CAF88Earthy and soft, common in interiors.
Teal#008080A cool accent that makes brown look richer.
Mustard yellow#FFDB58Warm and retro, popular in 1970s style designs.
Light blue#ADD8E6Cool and fresh, good for clothing and nurseries.

Matches from the color wheel

ComplementaryThe opposite side of the wheel
#964B00, #004B96
Split complementaryThe two colors beside the opposite
#964B00, #009696, #000096
AnalogousNeighbors 30 degrees either side
#960000, #964B00, #969600
TriadicThree colors 120 degrees apart
#964B00, #00964B, #4B0096

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.

Coffee shopDark roast to cream, all from the same hue family.
#3E2723, #6F4E37, #964B00, #D2B48C, #FFFDD0
Earth and sageBrown with a soft green, for calm, natural designs.
#654321, #964B00, #C9A27A, #9CAF88, #F3EEE3
Brown and tealA warm base with a cool accent color.
#4A2C0A, #964B00, #F4A460, #008080, #E0F2F1

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.

PairingContrastNormal textLarge text
White text on brown6.36:1PassesPasses
Black text on brown3.30:1FailsPasses

How brown looks with color blindness

Normal vision#964B00
Protanopia#615500No red cones
Deuteranopia#736600No green cones
Tritanopia#A5393FNo blue cones
Achromatopsia#5F5F5FNo color vision

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:

ChannelHexDecimalBinaryBits that are on
Red9615010010110128 + 16 + 4 + 2
Green4B750100101164 + 8 + 2 + 1
Blue000000000000

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.

Scroll to Top