#BA8F21

A color in the Orange, Brown family

#ba8f21 is a color in the Orange, Brown family: RGB(186, 143, 33), HSL(43°, 70%, 43%), CMYK(0%, 23%, 82%, 27%). Closest named color: darkgoldenrod. Contrast is 2.98:1 on white and 7.04:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#ba8f21
RGBrgb(186 143 33)
RGB (legacy)rgb(186, 143, 33)
RGB %rgb(73% 56% 13%)
HSLhsl(43 70% 43%)
HSV / HSBhsv(43, 82%, 73%)
HWBhwb(43 13% 27%)
CMYKcmyk(0%, 23%, 82%, 27%)
CIELAB (D50)lab(62.26 9.59 59.45)
LCHlch(62.26 60.21 80.84)
OKLaboklab(0.6732 0.0107 0.128)
OKLCHoklch(0.6732 0.1284 85.23)
Decimal12226337

Properties

Color ToneOrange, Brown
Closest named colordarkgoldenrod ΔE 2.3
Closest web-safe color#cc9933
Hue43°
Saturation (HSL / HSV)70% / 82%
Lightness (HSL)43%
Brightness or Value (HSV)73%
Luminance (Rec.601 / Rec.709)56% / 57%
Relative luminance (WCAG)0.3019
Red / Green / Blue186 / 143 / 33

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 56.3 / -45.5 · As background with white / black text: Lc -61.6 / 47.8

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: #ba8f21;
  --color-brand-oklch: oklch(67.32% 0.1284 85.23);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(186 143 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ba8f21] text-[#ba8f21] border-[#ba8f21]">