#BA8A21

A color in the Orange, Brown family

#ba8a21 is a color in the Orange, Brown family: RGB(186, 138, 33), HSL(41°, 70%, 43%), CMYK(0%, 26%, 82%, 27%). Closest named color: darkgoldenrod. Contrast is 3.11:1 on white and 6.75:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#ba8a21
RGBrgb(186 138 33)
RGB (legacy)rgb(186, 138, 33)
RGB %rgb(73% 54% 13%)
HSLhsl(41 70% 43%)
HSV / HSBhsv(41, 82%, 73%)
HWBhwb(41 13% 27%)
CMYKcmyk(0%, 26%, 82%, 27%)
CIELAB (D50)lab(60.99 12.2 58.4)
LCHlch(60.99 59.66 78.2)
OKLaboklab(0.6632 0.0186 0.1255)
OKLCHoklch(0.6632 0.1269 81.58)
Decimal12225057

Properties

Color ToneOrange, Brown
Closest named colordarkgoldenrod ΔE 1.2
Closest web-safe color#cc9933
Hue41°
Saturation (HSL / HSV)70% / 82%
Lightness (HSL)43%
Brightness or Value (HSV)73%
Luminance (Rec.601 / Rec.709)55% / 55%
Relative luminance (WCAG)0.2873
Red / Green / Blue186 / 138 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.11:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.75: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 57.9 / -43.8 · As background with white / black text: Lc -63.3 / 46.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: #ba8a21;
  --color-brand-oklch: oklch(66.32% 0.1269 81.58);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(186 138 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ba8a21] text-[#ba8a21] border-[#ba8a21]">