#BA7B2C#BA7B2C

#BA7B2C is a light, vivid orange. Relative luminance 0.248; OKLCH L 63.5% C 0.121 H 68.0°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#BA7B2C
RGBrgb(186, 123, 44)
HSLhsl(33, 62%, 45%)
HSVhsv(33, 76%, 73%)
CMYKcmyk(0%, 33.9%, 76.3%, 27.1%)
CIE-LABlab(56.87, 17.76, 50.80)
CIE-LCHlch(56.87, 53.82, 70.73°)
OKLaboklab(63.47% 0.0452 0.1118)
OKLCHoklch(63.47% 0.121 68)
XYZxyz(27.7894, 24.7894, 5.7037)
Luminance0.2479 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7B2C #2C6BBA
analogous
#BA342C #BA7B2C #B2BA2C
triadic
#BA7B2C #2CBA7B #7B2CBA
tetradic
#BA7B2C #2CBA34 #2C6BBA #BA2CB2
square
#BA7B2C #2CBA34 #2C6BBA #BA2CB2
split-complementary
#BA7B2C #2CB2BA #342CBA
monochromatic
#573A15 #895A20 #BA7B2C #D5994E #E1B680

Accessibility & contrast

On white

3.53
#BA7B2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#BA7B2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7B2C
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7B2C#FFFFFF#000000##000000
##BA7B2C1.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#908021
Deuteranopia (green-blind)
#9F8E2E
Tritanopia (blue-blind)
#CB6C6B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba7b2c;
/* rgb */ color: rgb(186, 123, 44);
/* oklch */ color: oklch(63.5% 0.121 68.0);
Tailwind
colors: {
  custom: {
    50: '#d4a16a',
    500: '#ba7b2c',
    950: '#000000',
  },
}
SCSS
$custom: #ba7b2c;
$custom-light: #d4a16a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7b2c",
  "rgb": {
    "r": 186,
    "g": 123,
    "b": 44
  },
  "hsl": {
    "h": 33.38,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.63471,
    "c": 0.12055,
    "h": 68
  },
  "luminance": 0.24787
}

Semantic roles & 50–950 ramp

primary
#BA7B2C
secondary
#789CCA
accent
#8BE543
background
#FDF9F6
surface
#FBF2EB
border
#D4CCC6
text
#150F07
muted
#837E7A

Preview Lab

Preview with #BA7B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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