#BA7F2C#BA7F2C

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

Color values

HEX#BA7F2C
RGBrgb(186, 127, 44)
HSLhsl(35, 62%, 45%)
HSVhsv(35, 76%, 73%)
CMYKcmyk(0%, 31.7%, 76.3%, 27.1%)
CIE-LABlab(57.85, 15.55, 51.76)
CIE-LCHlch(57.85, 54.05, 73.28°)
OKLaboklab(64.23% 0.0387 0.1138)
OKLCHoklch(64.23% 0.12 71.2)
XYZxyz(28.2958, 25.8022, 5.8725)
Luminance0.2580 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7F2C #2C67BA
analogous
#BA382C #BA7F2C #AEBA2C
triadic
#BA7F2C #2CBA7F #7F2CBA
tetradic
#BA7F2C #2CBA38 #2C67BA #BA2CAE
square
#BA7F2C #2CBA38 #2C67BA #BA2CAE
split-complementary
#BA7F2C #2CAEBA #382CBA
monochromatic
#573B15 #895D20 #BA7F2C #D59D4E #E1B880

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA7F2C#FFFFFF#000000##000000
##BA7F2C1.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)
#938320
Deuteranopia (green-blind)
#A1912E
Tritanopia (blue-blind)
#CB706E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba7f2c;
/* rgb */ color: rgb(186, 127, 44);
/* oklch */ color: oklch(64.2% 0.120 71.2);
Tailwind
colors: {
  custom: {
    50: '#d4a46b',
    500: '#ba7f2c',
    950: '#000000',
  },
}
SCSS
$custom: #ba7f2c;
$custom-light: #d4a46b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7f2c",
  "rgb": {
    "r": 186,
    "g": 127,
    "b": 44
  },
  "hsl": {
    "h": 35.07,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.64233,
    "c": 0.12021,
    "h": 71.2
  },
  "luminance": 0.258
}

Semantic roles & 50–950 ramp

primary
#BA7F2C
secondary
#789ACA
accent
#86E543
background
#FDFAF6
surface
#FBF4EB
border
#D4CEC6
text
#150F07
muted
#837F7A

Preview Lab

Preview with #BA7F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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