#BA702D#BA702D

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

Color values

HEX#BA702D
RGBrgb(186, 112, 45)
HSLhsl(29, 61%, 45%)
HSVhsv(29, 76%, 73%)
CMYKcmyk(0%, 39.8%, 75.8%, 27.1%)
CIE-LABlab(54.26, 23.88, 47.77)
CIE-LCHlch(54.26, 53.41, 63.44°)
OKLaboklab(61.45% 0.0634 0.1055)
OKLCHoklch(61.45% 0.123 59)
XYZxyz(26.5197, 22.2196, 5.3743)
Luminance0.2222 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA702D #2D77BA
analogous
#BA2D30 #BA702D #BAB72D
triadic
#BA702D #2DBA70 #702DBA
tetradic
#BA702D #30BA2D #2D77BA #B72DBA
square
#BA702D #30BA2D #2D77BA #B72DBA
split-complementary
#BA702D #2DBAB7 #2D30BA
monochromatic
#573515 #895221 #BA702D #D58F50 #E0AE81

Accessibility & contrast

On white

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

On black

5.44
#BA702D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA702D
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA702D#FFFFFF#000000##000000
##BA702D1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba702d;
/* rgb */ color: rgb(186, 112, 45);
/* oklch */ color: oklch(61.5% 0.123 59.0);
Tailwind
colors: {
  custom: {
    50: '#d4996a',
    500: '#ba702d',
    950: '#000000',
  },
}
SCSS
$custom: #ba702d;
$custom-light: #d4996a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba702d",
  "rgb": {
    "r": 186,
    "g": 112,
    "b": 45
  },
  "hsl": {
    "h": 28.511,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.61451,
    "c": 0.1231,
    "h": 59
  },
  "luminance": 0.22217
}

Semantic roles & 50–950 ramp

primary
#BA702D
secondary
#79A3C9
accent
#98E444
background
#FDF9F6
surface
#FBF2EB
border
#D4CCC6
text
#150E07
muted
#837E7A

Preview Lab

Preview with #BA702D

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

Preview Lab → · Contrast checker → · Palette generator →

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