#BA7E38#BA7E38

#BA7E38 is a light, moderate orange. Relative luminance 0.256; OKLCH L 64.2% C 0.113 H 67.3°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#BA7E38
RGBrgb(186, 126, 56)
HSLhsl(32, 54%, 47%)
HSVhsv(32, 70%, 73%)
CMYKcmyk(0%, 32.3%, 69.9%, 27.1%)
CIE-LABlab(57.70, 16.69, 46.22)
CIE-LCHlch(57.70, 49.14, 70.14°)
OKLaboklab(64.15% 0.0437 0.1044)
OKLCHoklch(64.15% 0.113 67.3)
XYZxyz(28.4264, 25.6488, 7.1942)
Luminance0.2565 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7E38 #3874BA
analogous
#BA3D38 #BA7E38 #B5BA38
triadic
#BA7E38 #38BA7E #7E38BA
tetradic
#BA7E38 #38BA3D #3874BA #BA38B5
square
#BA7E38 #38BA3D #3874BA #BA38B5
split-complementary
#BA7E38 #38B5BA #3D38BA
monochromatic
#5C3E1C #8B5E2A #BA7E38 #CF9C60 #DDB98F

Accessibility & contrast

On white

3.43
#BA7E38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#BA7E38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7E38
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7E38#FFFFFF#000000##000000
##BA7E381.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928230
Deuteranopia (green-blind)
#A09039
Tritanopia (blue-blind)
#CA706F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba7e38;
/* rgb */ color: rgb(186, 126, 56);
/* oklch */ color: oklch(64.2% 0.113 67.3);
Tailwind
colors: {
  custom: {
    50: '#d3a372',
    500: '#ba7e38',
    950: '#000000',
  },
}
SCSS
$custom: #ba7e38;
$custom-light: #d3a372;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7e38",
  "rgb": {
    "r": 186,
    "g": 126,
    "b": 56
  },
  "hsl": {
    "h": 32.308,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.64151,
    "c": 0.11322,
    "h": 67.3
  },
  "luminance": 0.25646
}

Semantic roles & 50–950 ramp

primary
#BA7E38
secondary
#86A4C8
accent
#8EDD4B
background
#FDFAF7
surface
#FBF3ED
border
#D4CDC8
text
#150F08
muted
#837F7B

Preview Lab

Preview with #BA7E38

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

Preview Lab → · Contrast checker → · Palette generator →

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