#BA7A2B#BA7A2B

#BA7A2B is a light, vivid orange. Relative luminance 0.245; OKLCH L 63.3% C 0.121 H 67.4°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#BA7A2B
RGBrgb(186, 122, 43)
HSLhsl(33, 62%, 45%)
HSVhsv(33, 77%, 73%)
CMYKcmyk(0%, 34.4%, 76.9%, 27.1%)
CIE-LABlab(56.62, 18.27, 50.99)
CIE-LCHlch(56.62, 54.16, 70.28°)
OKLaboklab(63.28% 0.0466 0.1119)
OKLCHoklch(63.28% 0.121 67.4)
XYZxyz(27.6474, 24.5352, 5.5647)
Luminance0.2453 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7A2B #2B6BBA
analogous
#BA332B #BA7A2B #B2BA2B
triadic
#BA7A2B #2BBA7A #7A2BBA
tetradic
#BA7A2B #2BBA33 #2B6BBA #BA2BB2
square
#BA7A2B #2BBA33 #2B6BBA #BA2BB2
split-complementary
#BA7A2B #2BB2BA #332BBA
monochromatic
#573914 #885920 #BA7A2B #D6984C #E1B57E

Accessibility & contrast

On white

3.56
#BA7A2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#BA7A2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7A2B
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7A2B#FFFFFF#000000##000000
##BA7A2B1.003.565.915.91
#FFFFFF3.561.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F20
Deuteranopia (green-blind)
#9E8E2D
Tritanopia (blue-blind)
#CB6B6A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba7a2b;
/* rgb */ color: rgb(186, 122, 43);
/* oklch */ color: oklch(63.3% 0.121 67.4);
Tailwind
colors: {
  custom: {
    50: '#d4a06a',
    500: '#ba7a2b',
    950: '#000000',
  },
}
SCSS
$custom: #ba7a2b;
$custom-light: #d4a06a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7a2b",
  "rgb": {
    "r": 186,
    "g": 122,
    "b": 43
  },
  "hsl": {
    "h": 33.147,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.63275,
    "c": 0.12122,
    "h": 67.4
  },
  "luminance": 0.24533
}

Semantic roles & 50–950 ramp

primary
#BA7A2B
secondary
#779CCA
accent
#8BE642
background
#FDF9F6
surface
#FBF2EB
border
#D4CCC6
text
#150E07
muted
#837E7A

Preview Lab

Preview with #BA7A2B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#BA7A2B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva