#BA771D#BA771D

#BA771D is a light, vivid orange. Relative luminance 0.237; OKLCH L 62.6% C 0.128 H 67.8°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#BA771D
RGBrgb(186, 119, 29)
HSLhsl(34, 73%, 42%)
HSVhsv(34, 84%, 73%)
CMYKcmyk(0%, 36%, 84.4%, 27.1%)
CIE-LABlab(55.81, 19.44, 55.62)
CIE-LCHlch(55.81, 58.92, 70.73°)
OKLaboklab(62.62% 0.0483 0.1185)
OKLCHoklch(62.62% 0.128 67.8)
XYZxyz(27.0705, 23.7241, 4.3157)
Luminance0.2372 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA771D #1D60BA
analogous
#BA291D #BA771D #AFBA1D
triadic
#BA771D #1DBA77 #771DBA
tetradic
#BA771D #1DBA29 #1D60BA #BA1DAF
square
#BA771D #1DBA29 #1D60BA #BA1DAF
split-complementary
#BA771D #1DAFBA #291DBA
monochromatic
#50330C #855515 #BA771D #DF9735 #E8B26A

Accessibility & contrast

On white

3.66
#BA771D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#BA771D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA771D
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA771D#FFFFFF#000000##000000
##BA771D1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C07
Deuteranopia (green-blind)
#9D8C1F
Tritanopia (blue-blind)
#CB6766
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ba771d;
/* rgb */ color: rgb(186, 119, 29);
/* oklch */ color: oklch(62.6% 0.128 67.8);
Tailwind
colors: {
  custom: {
    50: '#d59e62',
    500: '#ba771d',
    950: '#000000',
  },
}
SCSS
$custom: #ba771d;
$custom-light: #d59e62;
$custom-dark: #000000;
JSON
{
  "hex": "#ba771d",
  "rgb": {
    "r": 186,
    "g": 119,
    "b": 29
  },
  "hsl": {
    "h": 34.395,
    "s": 73.023,
    "l": 42.157
  },
  "oklch": {
    "l": 0.62619,
    "c": 0.12795,
    "h": 67.8
  },
  "luminance": 0.23721
}

Semantic roles & 50–950 ramp

primary
#BA771D
secondary
#6592CD
accent
#86F038
background
#FDF9F6
surface
#FBF2EB
border
#D4CCC6
text
#150E06
muted
#837E7A

Preview Lab

Preview with #BA771D

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

Preview Lab → · Contrast checker → · Palette generator →

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