#BA7D2B#BA7D2B

#BA7D2B is a light, vivid orange. Relative luminance 0.253; OKLCH L 63.8% C 0.121 H 69.8°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#BA7D2B
RGBrgb(186, 125, 43)
HSLhsl(34, 62%, 45%)
HSVhsv(34, 77%, 73%)
CMYKcmyk(0%, 32.8%, 76.9%, 27.1%)
CIE-LABlab(57.35, 16.61, 51.70)
CIE-LCHlch(57.35, 54.30, 72.19°)
OKLaboklab(63.84% 0.0417 0.1134)
OKLCHoklch(63.84% 0.121 69.8)
XYZxyz(28.0215, 25.2833, 5.6894)
Luminance0.2528 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7D2B #2B68BA
analogous
#BA362B #BA7D2B #AFBA2B
triadic
#BA7D2B #2BBA7D #7D2BBA
tetradic
#BA7D2B #2BBA36 #2B68BA #BA2BAF
square
#BA7D2B #2BBA36 #2B68BA #BA2BAF
split-complementary
#BA7D2B #2BAFBA #362BBA
monochromatic
#573A14 #885C20 #BA7D2B #D69B4C #E1B77E

Accessibility & contrast

On white

3.47
#BA7D2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#BA7D2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7D2B
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7D2B#FFFFFF#000000##000000
##BA7D2B1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811F
Deuteranopia (green-blind)
#A08F2D
Tritanopia (blue-blind)
#CB6E6D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba7d2b;
/* rgb */ color: rgb(186, 125, 43);
/* oklch */ color: oklch(63.8% 0.121 69.8);
Tailwind
colors: {
  custom: {
    50: '#d4a26a',
    500: '#ba7d2b',
    950: '#000000',
  },
}
SCSS
$custom: #ba7d2b;
$custom-light: #d4a26a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7d2b",
  "rgb": {
    "r": 186,
    "g": 125,
    "b": 43
  },
  "hsl": {
    "h": 34.406,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.63843,
    "c": 0.12085,
    "h": 69.8
  },
  "luminance": 0.25281
}

Semantic roles & 50–950 ramp

primary
#BA7D2B
secondary
#779ACA
accent
#88E642
background
#FDF9F6
surface
#FBF2EB
border
#D4CCC6
text
#150F07
muted
#837E7A

Preview Lab

Preview with #BA7D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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