#BA7F2B#BA7F2B

#BA7F2B is a light, vivid orange. Relative luminance 0.258; OKLCH L 64.2% C 0.121 H 71.4°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#BA7F2B
RGBrgb(186, 127, 43)
HSLhsl(35, 62%, 45%)
HSVhsv(35, 77%, 73%)
CMYKcmyk(0%, 31.7%, 76.9%, 27.1%)
CIE-LABlab(57.84, 15.50, 52.17)
CIE-LCHlch(57.84, 54.43, 73.45°)
OKLaboklab(64.23% 0.0384 0.1145)
OKLCHoklch(64.23% 0.121 71.4)
XYZxyz(28.2772, 25.7948, 5.7747)
Luminance0.2579 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7F2B #2B66BA
analogous
#BA382B #BA7F2B #ADBA2B
triadic
#BA7F2B #2BBA7F #7F2BBA
tetradic
#BA7F2B #2BBA38 #2B66BA #BA2BAD
square
#BA7F2B #2BBA38 #2B66BA #BA2BAD
split-complementary
#BA7F2B #2BADBA #382BBA
monochromatic
#573B14 #885D20 #BA7F2B #D69D4C #E1B87E

Accessibility & contrast

On white

3.41
#BA7F2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#BA7F2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7F2B
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7F2B#FFFFFF#000000##000000
##BA7F2B1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#93831E
Deuteranopia (green-blind)
#A1912D
Tritanopia (blue-blind)
#CB706E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba7f2b;
/* rgb */ color: rgb(186, 127, 43);
/* oklch */ color: oklch(64.2% 0.121 71.4);
Tailwind
colors: {
  custom: {
    50: '#d4a46a',
    500: '#ba7f2b',
    950: '#000000',
  },
}
SCSS
$custom: #ba7f2b;
$custom-light: #d4a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7f2b",
  "rgb": {
    "r": 186,
    "g": 127,
    "b": 43
  },
  "hsl": {
    "h": 35.245,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.64226,
    "c": 0.12074,
    "h": 71.4
  },
  "luminance": 0.25792
}

Semantic roles & 50–950 ramp

primary
#BA7F2B
secondary
#7799CA
accent
#86E642
background
#FDFAF6
surface
#FBF4EB
border
#D4CEC6
text
#150F07
muted
#837F7A

Preview Lab

Preview with #BA7F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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