#BA6540#BA6540

#BA6540 is a mid, vivid orange. Relative luminance 0.201; OKLCH L 59.8% C 0.121 H 43.5°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#BA6540
RGBrgb(186, 101, 64)
HSLhsl(18, 49%, 49%)
HSVhsv(18, 66%, 73%)
CMYKcmyk(0%, 45.7%, 65.6%, 27.1%)
CIE-LABlab(51.97, 30.89, 35.68)
CIE-LCHlch(51.97, 47.19, 49.12°)
OKLaboklab(59.75% 0.0876 0.083)
OKLCHoklch(59.75% 0.121 43.5)
XYZxyz(25.8309, 20.1195, 7.3726)
Luminance0.2012 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6540 #4095BA
analogous
#BA4058 #BA6540 #BAA240
triadic
#BA6540 #40BA65 #6540BA
tetradic
#BA6540 #58BA40 #4095BA #A240BA
square
#BA6540 #58BA40 #4095BA #A240BA
split-complementary
#BA6540 #40BAA2 #4058BA
monochromatic
#5F3421 #8C4C30 #BA6540 #CC896B #DCAD99

Accessibility & contrast

On white

4.18
#BA6540 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#BA6540 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6540
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6540#FFFFFF#000000##000000
##BA65401.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C713C
Deuteranopia (green-blind)
#90833F
Tritanopia (blue-blind)
#CB555C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba6540;
/* rgb */ color: rgb(186, 101, 64);
/* oklch */ color: oklch(59.8% 0.121 43.5);
Tailwind
colors: {
  custom: {
    50: '#d49276',
    500: '#ba6540',
    950: '#000000',
  },
}
SCSS
$custom: #ba6540;
$custom-light: #d49276;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6540",
  "rgb": {
    "r": 186,
    "g": 101,
    "b": 64
  },
  "hsl": {
    "h": 18.197,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.59753,
    "c": 0.12069,
    "h": 43.5
  },
  "luminance": 0.20117
}

Semantic roles & 50–950 ramp

primary
#BA6540
secondary
#8EB6C8
accent
#AFD84F
background
#FDF9F7
surface
#FBF1ED
border
#D4CBC8
text
#150D08
muted
#837E7B

Preview Lab

Preview with #BA6540

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

Preview Lab → · Contrast checker → · Palette generator →

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