#B2811F color

#B2811F is rgb(178, 129, 31) in RGB and hsl(40, 70%, 41%) in HSL. The closest CSS named color is darkgoldenrod (#b8860b, ΔE 2.7). Use black text on it (contrast 6.05:1).

#B2811Famber
HEX#B2811F
RGBrgb(178, 129, 31)
RGB percentrgb(69.8%, 50.6%, 12.2%)
HSLhsl(40, 70%, 41%)
HSV / HSBhsv(40, 83%, 70%)
CMYKcmyk(0%, 28%, 83%, 30%)
CIELAB (D65)lab(57.3 10.4 55.9)

Edit in the color converter → · Check contrast → · Shades →

About #B2811F

#B2811F is a medium-dark, saturated amber with a hue angle of 40°. It belongs to the brown family and reads as a warm color. In the RGB model red is the strongest channel at 178 (70%) and blue the weakest at 31 (12%). Colors like this are typically used for headers, navigation bars and strong brand areas.

Color conversions

HEX#B2811F
RGBrgb(178, 129, 31)
RGB percentrgb(69.8%, 50.6%, 12.2%)
HSLhsl(40, 70%, 41%)
HSV / HSBhsv(40, 83%, 70%)
CMYKcmyk(0%, 28%, 83%, 30%)
CIELAB (D65)lab(57.3 10.4 55.9)
Decimal11698463
Binary10110010 10000001 00011111

HEX B2 81 1F → 178, 129, 31 (each pair is a base-16 number: B×16 + 2 = 178)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #B2811F

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #B2811FRatioAA normalAA largeAAA normalAAA large
White text3.47:1FailPassFailFail
Black text6.05:1PassPassFailPass
White text on #B2811F
Black text on #B2811F
#B2811F text on white
#B2811F text on black

Relative luminance is 0.2526 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#948207

Deuteranopia
#a08f24

Tritanopia
#c2736f

Achromatopsia
#8a8a8a

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 10.5). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
darkgoldenrod#b8860b2.7
peru#cd853f9.6
goldenrod#daa52011.9
chocolate#d2691e16

CSS

.element {
  color: #b2811f;
  background-color: rgb(178, 129, 31);
  border: 1px solid hsl(40, 70%, 41%);
  box-shadow: 0 2px 8px rgb(178 129 31 / 50%);
}
:root { --brand: #b2811f; }

Frequently asked questions

What color is #B2811F?
A medium-dark saturated amber in the brown family. Closest CSS name: darkgoldenrod.
What is #B2811F in RGB?
rgb(178, 129, 31): red 178, green 129, blue 31.
What is the complementary color of #B2811F?
#1F50B2, found by rotating the hue 180°.