#BA702F#BA702F

#BA702F is a mid, vivid orange. Relative luminance 0.222; OKLCH L 61.5% C 0.122 H 58.4°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#BA702F
RGBrgb(186, 112, 47)
HSLhsl(28, 60%, 46%)
HSVhsv(28, 75%, 73%)
CMYKcmyk(0%, 39.8%, 74.7%, 27.1%)
CIE-LABlab(54.28, 23.97, 46.87)
CIE-LCHlch(54.28, 52.64, 62.91°)
OKLaboklab(61.47% 0.064 0.104)
OKLCHoklch(61.47% 0.122 58.4)
XYZxyz(26.5592, 22.2354, 5.5819)
Luminance0.2223 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA702F #2F79BA
analogous
#BA2F33 #BA702F #BAB62F
triadic
#BA702F #2FBA70 #702FBA
tetradic
#BA702F #33BA2F #2F79BA #B62FBA
square
#BA702F #33BA2F #2F79BA #B62FBA
split-complementary
#BA702F #2FBAB6 #2F33BA
monochromatic
#583516 #895323 #BA702F #D38F53 #E0AF84

Accessibility & contrast

On white

3.86
#BA702F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#BA702F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA702F
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA702F#FFFFFF#000000##000000
##BA702F1.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#867827
Deuteranopia (green-blind)
#98882F
Tritanopia (blue-blind)
#CB6062
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ba702f;
/* rgb */ color: rgb(186, 112, 47);
/* oklch */ color: oklch(61.5% 0.122 58.4);
Tailwind
colors: {
  custom: {
    50: '#d4996b',
    500: '#ba702f',
    950: '#000000',
  },
}
SCSS
$custom: #ba702f;
$custom-light: #d4996b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba702f",
  "rgb": {
    "r": 186,
    "g": 112,
    "b": 47
  },
  "hsl": {
    "h": 28.058,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.61469,
    "c": 0.12213,
    "h": 58.4
  },
  "luminance": 0.22233
}

Semantic roles & 50–950 ramp

primary
#BA702F
secondary
#7CA5C9
accent
#99E345
background
#FDF9F6
surface
#FBF2EB
border
#D4CCC6
text
#150E07
muted
#837E7A

Preview Lab

Preview with #BA702F

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

Preview Lab → · Contrast checker → · Palette generator →

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