#BA7B38#BA7B38

#BA7B38 is a light, moderate orange. Relative luminance 0.249; OKLCH L 63.6% C 0.114 H 64.7°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#BA7B38
RGBrgb(186, 123, 56)
HSLhsl(31, 54%, 47%)
HSVhsv(31, 70%, 73%)
CMYKcmyk(0%, 33.9%, 69.9%, 27.1%)
CIE-LABlab(56.97, 18.35, 45.43)
CIE-LCHlch(56.97, 49.00, 68.00°)
OKLaboklab(63.58% 0.0486 0.1028)
OKLCHoklch(63.58% 0.114 64.7)
XYZxyz(28.0485, 24.8931, 7.0683)
Luminance0.2489 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7B38 #3877BA
analogous
#BA3A38 #BA7B38 #B8BA38
triadic
#BA7B38 #38BA7B #7B38BA
tetradic
#BA7B38 #38BA3A #3877BA #BA38B8
square
#BA7B38 #38BA3A #3877BA #BA38B8
split-complementary
#BA7B38 #38B8BA #3A38BA
monochromatic
#5C3D1C #8B5C2A #BA7B38 #CF9960 #DDB78F

Accessibility & contrast

On white

3.51
#BA7B38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#BA7B38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7B38
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7B38#FFFFFF#000000##000000
##BA7B381.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8031
Deuteranopia (green-blind)
#9E8F39
Tritanopia (blue-blind)
#CB6D6C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ba7b38;
/* rgb */ color: rgb(186, 123, 56);
/* oklch */ color: oklch(63.6% 0.114 64.7);
Tailwind
colors: {
  custom: {
    50: '#d3a172',
    500: '#ba7b38',
    950: '#000000',
  },
}
SCSS
$custom: #ba7b38;
$custom-light: #d3a172;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7b38",
  "rgb": {
    "r": 186,
    "g": 123,
    "b": 56
  },
  "hsl": {
    "h": 30.923,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.63583,
    "c": 0.11369,
    "h": 64.7
  },
  "luminance": 0.24891
}

Semantic roles & 50–950 ramp

primary
#BA7B38
secondary
#86A6C8
accent
#92DD4B
background
#FDF9F7
surface
#FBF2ED
border
#D4CCC8
text
#150F08
muted
#837E7B

Preview Lab

Preview with #BA7B38

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

Preview Lab → · Contrast checker → · Palette generator →

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