#BA7222#BA7222

#BA7222 is a mid, vivid orange. Relative luminance 0.226; OKLCH L 61.7% C 0.127 H 63.2°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#BA7222
RGBrgb(186, 114, 34)
HSLhsl(32, 69%, 43%)
HSVhsv(32, 82%, 73%)
CMYKcmyk(0%, 38.7%, 81.7%, 27.1%)
CIE-LABlab(54.65, 22.36, 52.79)
CIE-LCHlch(54.65, 57.33, 67.05°)
OKLaboklab(61.73% 0.0574 0.1136)
OKLCHoklch(61.73% 0.127 63.2)
XYZxyz(26.5580, 22.5920, 4.4751)
Luminance0.2259 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7222 #226ABA
analogous
#BA2622 #BA7222 #B6BA22
triadic
#BA7222 #22BA72 #7222BA
tetradic
#BA7222 #22BA26 #226ABA #BA22B6
square
#BA7222 #22BA26 #226ABA #BA22B6
split-complementary
#BA7222 #22B6BA #2622BA
monochromatic
#53330F #865219 #BA7222 #DC913E #E5AE71

Accessibility & contrast

On white

3.81
#BA7222 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#BA7222 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7222
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7222#FFFFFF#000000##000000
##BA72221.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897914
Deuteranopia (green-blind)
#9A8923
Tritanopia (blue-blind)
#CC6163
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ba7222;
/* rgb */ color: rgb(186, 114, 34);
/* oklch */ color: oklch(61.7% 0.127 63.2);
Tailwind
colors: {
  custom: {
    50: '#d59a64',
    500: '#ba7222',
    950: '#000000',
  },
}
SCSS
$custom: #ba7222;
$custom-light: #d59a64;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7222",
  "rgb": {
    "r": 186,
    "g": 114,
    "b": 34
  },
  "hsl": {
    "h": 31.579,
    "s": 69.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.61728,
    "c": 0.12727,
    "h": 63.2
  },
  "luminance": 0.22589
}

Semantic roles & 50–950 ramp

primary
#BA7222
secondary
#6C99CC
accent
#8FEC3C
background
#FDF9F6
surface
#FBF2EB
border
#D4CCC6
text
#150E06
muted
#837E7A

Preview Lab

Preview with #BA7222

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

Preview Lab → · Contrast checker → · Palette generator →

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