#BA7A38#BA7A38

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

Color values

HEX#BA7A38
RGBrgb(186, 122, 56)
HSLhsl(30, 54%, 47%)
HSVhsv(30, 70%, 73%)
CMYKcmyk(0%, 34.4%, 69.9%, 27.1%)
CIE-LABlab(56.73, 18.91, 45.17)
CIE-LCHlch(56.73, 48.97, 67.29°)
OKLaboklab(63.4% 0.0503 0.1022)
OKLCHoklch(63.4% 0.114 63.8)
XYZxyz(27.9251, 24.6462, 7.0271)
Luminance0.2464 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7A38 #3878BA
analogous
#BA3938 #BA7A38 #B9BA38
triadic
#BA7A38 #38BA7A #7A38BA
tetradic
#BA7A38 #38BA39 #3878BA #BA38B9
square
#BA7A38 #38BA39 #3878BA #BA38B9
split-complementary
#BA7A38 #38B9BA #3938BA
monochromatic
#5C3C1C #8B5B2A #BA7A38 #CF9860 #DDB78F

Accessibility & contrast

On white

3.54
#BA7A38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#BA7A38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7A38
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7A38#FFFFFF#000000##000000
##BA7A381.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F31
Deuteranopia (green-blind)
#9D8E39
Tritanopia (blue-blind)
#CB6B6C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba7a38;
/* rgb */ color: rgb(186, 122, 56);
/* oklch */ color: oklch(63.4% 0.114 63.8);
Tailwind
colors: {
  custom: {
    50: '#d3a072',
    500: '#ba7a38',
    950: '#000000',
  },
}
SCSS
$custom: #ba7a38;
$custom-light: #d3a072;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7a38",
  "rgb": {
    "r": 186,
    "g": 122,
    "b": 56
  },
  "hsl": {
    "h": 30.462,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.63395,
    "c": 0.1139,
    "h": 63.8
  },
  "luminance": 0.24644
}

Semantic roles & 50–950 ramp

primary
#BA7A38
secondary
#86A6C8
accent
#93DD4B
background
#FDF9F7
surface
#FBF2ED
border
#D4CCC8
text
#150E08
muted
#837E7B

Preview Lab

Preview with #BA7A38

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

Preview Lab → · Contrast checker → · Palette generator →

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