#BA7F38#BA7F38

#BA7F38 is a light, moderate orange. Relative luminance 0.259; OKLCH L 64.3% C 0.113 H 68.2°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#BA7F38
RGBrgb(186, 127, 56)
HSLhsl(33, 54%, 47%)
HSVhsv(33, 70%, 73%)
CMYKcmyk(0%, 31.7%, 69.9%, 27.1%)
CIE-LABlab(57.95, 16.14, 46.48)
CIE-LCHlch(57.95, 49.20, 70.85°)
OKLaboklab(64.34% 0.0421 0.105)
OKLCHoklch(64.34% 0.113 68.2)
XYZxyz(28.5549, 25.9058, 7.2371)
Luminance0.2590 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7F38 #3873BA
analogous
#BA3E38 #BA7F38 #B4BA38
triadic
#BA7F38 #38BA7F #7F38BA
tetradic
#BA7F38 #38BA3E #3873BA #BA38B4
square
#BA7F38 #38BA3E #3873BA #BA38B4
split-complementary
#BA7F38 #38B4BA #3E38BA
monochromatic
#5C3F1C #8B5F2A #BA7F38 #CF9D60 #DDBA8F

Accessibility & contrast

On white

3.40
#BA7F38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#BA7F38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7F38
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7F38#FFFFFF#000000##000000
##BA7F381.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938330
Deuteranopia (green-blind)
#A1913A
Tritanopia (blue-blind)
#CA7170
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba7f38;
/* rgb */ color: rgb(186, 127, 56);
/* oklch */ color: oklch(64.3% 0.113 68.2);
Tailwind
colors: {
  custom: {
    50: '#d3a472',
    500: '#ba7f38',
    950: '#000000',
  },
}
SCSS
$custom: #ba7f38;
$custom-light: #d3a472;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7f38",
  "rgb": {
    "r": 186,
    "g": 127,
    "b": 56
  },
  "hsl": {
    "h": 32.769,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.64342,
    "c": 0.11312,
    "h": 68.2
  },
  "luminance": 0.25903
}

Semantic roles & 50–950 ramp

primary
#BA7F38
secondary
#86A4C8
accent
#8DDD4B
background
#FDFAF7
surface
#FBF4ED
border
#D4CEC8
text
#150F08
muted
#837F7B

Preview Lab

Preview with #BA7F38

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

Preview Lab → · Contrast checker → · Palette generator →

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