#BA7122#BA7122

#BA7122 is a mid, vivid orange. Relative luminance 0.224; OKLCH L 61.5% C 0.128 H 62.4°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#BA7122
RGBrgb(186, 113, 34)
HSLhsl(31, 69%, 43%)
HSVhsv(31, 82%, 73%)
CMYKcmyk(0%, 39.2%, 81.7%, 27.1%)
CIE-LABlab(54.41, 22.91, 52.58)
CIE-LCHlch(54.41, 57.35, 66.46°)
OKLaboklab(61.55% 0.0591 0.1131)
OKLCHoklch(61.55% 0.128 62.4)
XYZxyz(26.4458, 22.3676, 4.4377)
Luminance0.2236 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7122 #226BBA
analogous
#BA2522 #BA7122 #B7BA22
triadic
#BA7122 #22BA71 #7122BA
tetradic
#BA7122 #22BA25 #226BBA #BA22B7
square
#BA7122 #22BA25 #226BBA #BA22B7
split-complementary
#BA7122 #22B7BA #2522BA
monochromatic
#53320F #865219 #BA7122 #DC903E #E5AD71

Accessibility & contrast

On white

3.84
#BA7122 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#BA7122 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7122
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7122#FFFFFF#000000##000000
##BA71221.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#887814
Deuteranopia (green-blind)
#998923
Tritanopia (blue-blind)
#CC6062
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ba7122;
/* rgb */ color: rgb(186, 113, 34);
/* oklch */ color: oklch(61.5% 0.128 62.4);
Tailwind
colors: {
  custom: {
    50: '#d59a64',
    500: '#ba7122',
    950: '#000000',
  },
}
SCSS
$custom: #ba7122;
$custom-light: #d59a64;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7122",
  "rgb": {
    "r": 186,
    "g": 113,
    "b": 34
  },
  "hsl": {
    "h": 31.184,
    "s": 69.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.61546,
    "c": 0.1276,
    "h": 62.4
  },
  "luminance": 0.22365
}

Semantic roles & 50–950 ramp

primary
#BA7122
secondary
#6C9ACC
accent
#90EC3C
background
#FDF9F6
surface
#FBF2EB
border
#D4CCC6
text
#150E06
muted
#837E7A

Preview Lab

Preview with #BA7122

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

Preview Lab → · Contrast checker → · Palette generator →

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