#BA7238#BA7238

#BA7238 is a mid, moderate orange. Relative luminance 0.228; OKLCH L 61.9% C 0.117 H 57.0°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#BA7238
RGBrgb(186, 114, 56)
HSLhsl(27, 54%, 47%)
HSVhsv(27, 70%, 73%)
CMYKcmyk(0%, 38.7%, 69.9%, 27.1%)
CIE-LABlab(54.83, 23.33, 43.10)
CIE-LCHlch(54.83, 49.01, 61.58°)
OKLaboklab(61.92% 0.0635 0.0978)
OKLCHoklch(61.92% 0.117 57)
XYZxyz(26.9829, 22.7619, 6.7131)
Luminance0.2276 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7238 #3880BA
analogous
#BA383F #BA7238 #BAB338
triadic
#BA7238 #38BA72 #7238BA
tetradic
#BA7238 #3FBA38 #3880BA #B338BA
square
#BA7238 #3FBA38 #3880BA #B338BA
split-complementary
#BA7238 #38BAB3 #383FBA
monochromatic
#5C381C #8B552A #BA7238 #CF9260 #DDB28F

Accessibility & contrast

On white

3.78
#BA7238 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#BA7238 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7238
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7238#FFFFFF#000000##000000
##BA72381.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#877932
Deuteranopia (green-blind)
#988A38
Tritanopia (blue-blind)
#CB6365
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ba7238;
/* rgb */ color: rgb(186, 114, 56);
/* oklch */ color: oklch(61.9% 0.117 57.0);
Tailwind
colors: {
  custom: {
    50: '#d49b71',
    500: '#ba7238',
    950: '#000000',
  },
}
SCSS
$custom: #ba7238;
$custom-light: #d49b71;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7238",
  "rgb": {
    "r": 186,
    "g": 114,
    "b": 56
  },
  "hsl": {
    "h": 26.769,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.61921,
    "c": 0.11657,
    "h": 57
  },
  "luminance": 0.22759
}

Semantic roles & 50–950 ramp

primary
#BA7238
secondary
#86AAC8
accent
#9CDD4B
background
#FDF9F6
surface
#FBF2EC
border
#D4CCC7
text
#150E08
muted
#837E7B

Preview Lab

Preview with #BA7238

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

Preview Lab → · Contrast checker → · Palette generator →

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