#BA7C38#BA7C38

#BA7C38 is a light, moderate orange. Relative luminance 0.251; OKLCH L 63.8% C 0.114 H 65.5°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#BA7C38
RGBrgb(186, 124, 56)
HSLhsl(31, 54%, 47%)
HSVhsv(31, 70%, 73%)
CMYKcmyk(0%, 33.3%, 69.9%, 27.1%)
CIE-LABlab(57.21, 17.80, 45.69)
CIE-LCHlch(57.21, 49.04, 68.72°)
OKLaboklab(63.77% 0.047 0.1033)
OKLCHoklch(63.77% 0.114 65.5)
XYZxyz(28.1732, 25.1424, 7.1098)
Luminance0.2514 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7C38 #3876BA
analogous
#BA3B38 #BA7C38 #B7BA38
triadic
#BA7C38 #38BA7C #7C38BA
tetradic
#BA7C38 #38BA3B #3876BA #BA38B7
square
#BA7C38 #38BA3B #3876BA #BA38B7
split-complementary
#BA7C38 #38B7BA #3B38BA
monochromatic
#5C3D1C #8B5D2A #BA7C38 #CF9A60 #DDB88F

Accessibility & contrast

On white

3.48
#BA7C38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#BA7C38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7C38
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7C38#FFFFFF#000000##000000
##BA7C381.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#908130
Deuteranopia (green-blind)
#9F8F39
Tritanopia (blue-blind)
#CB6E6D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ba7c38;
/* rgb */ color: rgb(186, 124, 56);
/* oklch */ color: oklch(63.8% 0.114 65.5);
Tailwind
colors: {
  custom: {
    50: '#d3a272',
    500: '#ba7c38',
    950: '#000000',
  },
}
SCSS
$custom: #ba7c38;
$custom-light: #d3a272;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7c38",
  "rgb": {
    "r": 186,
    "g": 124,
    "b": 56
  },
  "hsl": {
    "h": 31.385,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.63771,
    "c": 0.11351,
    "h": 65.5
  },
  "luminance": 0.2514
}

Semantic roles & 50–950 ramp

primary
#BA7C38
secondary
#86A5C8
accent
#91DD4B
background
#FDF9F7
surface
#FBF2ED
border
#D4CCC8
text
#150F08
muted
#837E7B

Preview Lab

Preview with #BA7C38

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

Preview Lab → · Contrast checker → · Palette generator →

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