#BA7D2C#BA7D2C

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

Color values

HEX#BA7D2C
RGBrgb(186, 125, 44)
HSLhsl(34, 62%, 45%)
HSVhsv(34, 76%, 73%)
CMYKcmyk(0%, 32.8%, 76.3%, 27.1%)
CIE-LABlab(57.36, 16.66, 51.28)
CIE-LCHlch(57.36, 53.92, 72.01°)
OKLaboklab(63.85% 0.0419 0.1128)
OKLCHoklch(63.85% 0.12 69.6)
XYZxyz(28.0401, 25.2907, 5.7872)
Luminance0.2529 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7D2C #2C69BA
analogous
#BA362C #BA7D2C #B0BA2C
triadic
#BA7D2C #2CBA7D #7D2CBA
tetradic
#BA7D2C #2CBA36 #2C69BA #BA2CB0
square
#BA7D2C #2CBA36 #2C69BA #BA2CB0
split-complementary
#BA7D2C #2CB0BA #362CBA
monochromatic
#573A15 #895C20 #BA7D2C #D59B4E #E1B780

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA7D2C#FFFFFF#000000##000000
##BA7D2C1.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)
#928120
Deuteranopia (green-blind)
#A08F2E
Tritanopia (blue-blind)
#CB6E6D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba7d2c;
/* rgb */ color: rgb(186, 125, 44);
/* oklch */ color: oklch(63.9% 0.120 69.6);
Tailwind
colors: {
  custom: {
    50: '#d4a26b',
    500: '#ba7d2c',
    950: '#000000',
  },
}
SCSS
$custom: #ba7d2c;
$custom-light: #d4a26b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7d2c",
  "rgb": {
    "r": 186,
    "g": 125,
    "b": 44
  },
  "hsl": {
    "h": 34.225,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.63851,
    "c": 0.12032,
    "h": 69.6
  },
  "luminance": 0.25288
}

Semantic roles & 50–950 ramp

primary
#BA7D2C
secondary
#789BCA
accent
#89E543
background
#FDF9F6
surface
#FBF2EB
border
#D4CCC6
text
#150F07
muted
#837E7A

Preview Lab

Preview with #BA7D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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