#BA7A21

A color in the Orange, Brown family

#ba7a21 is a color in the Orange, Brown family: RGB(186, 122, 33), HSL(35°, 70%, 43%), CMYK(0%, 34%, 82%, 27%). Closest named color: darkgoldenrod. Contrast is 3.56:1 on white and 5.89:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#ba7a21
RGBrgb(186 122 33)
RGB (legacy)rgb(186, 122, 33)
RGB %rgb(73% 48% 13%)
HSLhsl(35 70% 43%)
HSV / HSBhsv(35, 82%, 73%)
HWBhwb(35 13% 27%)
CMYKcmyk(0%, 34%, 82%, 27%)
CIELAB (D50)lab(57.05 20.62 55.15)
LCHlch(57.05 58.88 69.5)
OKLaboklab(0.632 0.0442 0.1179)
OKLCHoklch(0.632 0.1259 69.42)
Decimal12220961

Properties

Color ToneOrange, Brown
Closest named colordarkgoldenrod ΔE 3.4
Closest web-safe color#cc6633
Hue35°
Saturation (HSL / HSV)70% / 82%
Lightness (HSL)43%
Brightness or Value (HSV)73%
Luminance (Rec.601 / Rec.709)51% / 51%
Relative luminance (WCAG)0.2447
Red / Green / Blue186 / 122 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.56:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.89:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 62.9 / -38.7 · As background with white / black text: Lc -68.4 / 41.1

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #ba7a21;
  --color-brand-oklch: oklch(63.2% 0.1259 69.42);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(186 122 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ba7a21] text-[#ba7a21] border-[#ba7a21]">