#BA5006#BA5006

#BA5006 is a mid, vivid orange. Relative luminance 0.162; OKLCH L 56.0% C 0.154 H 46.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#BA5006
RGBrgb(186, 80, 6)
HSLhsl(25, 94%, 38%)
HSVhsv(25, 97%, 73%)
CMYKcmyk(0%, 57%, 96.8%, 27.1%)
CIE-LABlab(47.23, 39.74, 55.56)
CIE-LCHlch(47.23, 68.31, 54.42°)
OKLaboklab(55.99% 0.1064 0.1115)
OKLCHoklch(55.99% 0.154 46.3)
XYZxyz(23.1538, 16.1928, 2.0786)
Luminance0.1619 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5006 #0670BA
analogous
#BA0616 #BA5006 #BAAA06
triadic
#BA5006 #06BA50 #5006BA
tetradic
#BA5006 #16BA06 #0670BA #AA06BA
square
#BA5006 #16BA06 #0670BA #AA06BA
split-complementary
#BA5006 #06BAAA #0616BA
monochromatic
#431D02 #7F3704 #BA5006 #F56A08 #F98D42

Accessibility & contrast

On white

4.96
#BA5006 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#BA5006 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA5006
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5006#FFFFFF#000000##FFFFFF
##BA50061.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6100
Deuteranopia (green-blind)
#897900
Tritanopia (blue-blind)
#CD3644
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba5006;
/* rgb */ color: rgb(186, 80, 6);
/* oklch */ color: oklch(56.0% 0.154 46.3);
Tailwind
colors: {
  custom: {
    50: '#d88454',
    500: '#ba5006',
    950: '#000000',
  },
}
SCSS
$custom: #ba5006;
$custom-light: #d88454;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5006",
  "rgb": {
    "r": 186,
    "g": 80,
    "b": 6
  },
  "hsl": {
    "h": 24.667,
    "s": 93.75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.55994,
    "c": 0.15416,
    "h": 46.3
  },
  "luminance": 0.1619
}

Semantic roles & 50–950 ramp

primary
#BA5006
secondary
#449BD8
accent
#A7FF29
background
#FEF8F5
surface
#FDEFE9
border
#D5CAC5
text
#160B03
muted
#847C78

Preview Lab

Preview with #BA5006

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

Preview Lab → · Contrast checker → · Palette generator →

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