#BA7838#BA7838

#BA7838 is a light, moderate orange. Relative luminance 0.242; OKLCH L 63.0% C 0.114 H 62.1°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#BA7838
RGBrgb(186, 120, 56)
HSLhsl(30, 54%, 47%)
HSVhsv(30, 70%, 73%)
CMYKcmyk(0%, 35.5%, 69.9%, 27.1%)
CIE-LABlab(56.25, 20.02, 44.65)
CIE-LCHlch(56.25, 48.93, 65.85°)
OKLaboklab(63.02% 0.0536 0.1011)
OKLCHoklch(63.02% 0.114 62.1)
XYZxyz(27.6821, 24.1602, 6.9461)
Luminance0.2416 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7838 #387ABA
analogous
#BA3839 #BA7838 #BAB938
triadic
#BA7838 #38BA78 #7838BA
tetradic
#BA7838 #39BA38 #387ABA #B938BA
square
#BA7838 #39BA38 #387ABA #B938BA
split-complementary
#BA7838 #38BAB9 #3839BA
monochromatic
#5C3B1C #8B5A2A #BA7838 #CF9760 #DDB68F

Accessibility & contrast

On white

3.60
#BA7838 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#BA7838 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7838
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7838#FFFFFF#000000##000000
##BA78381.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E31
Deuteranopia (green-blind)
#9C8D39
Tritanopia (blue-blind)
#CB696A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ba7838;
/* rgb */ color: rgb(186, 120, 56);
/* oklch */ color: oklch(63.0% 0.114 62.1);
Tailwind
colors: {
  custom: {
    50: '#d49f71',
    500: '#ba7838',
    950: '#000000',
  },
}
SCSS
$custom: #ba7838;
$custom-light: #d49f71;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7838",
  "rgb": {
    "r": 186,
    "g": 120,
    "b": 56
  },
  "hsl": {
    "h": 29.538,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.63021,
    "c": 0.11441,
    "h": 62.1
  },
  "luminance": 0.24158
}

Semantic roles & 50–950 ramp

primary
#BA7838
secondary
#86A7C8
accent
#95DD4B
background
#FDF9F7
surface
#FBF2ED
border
#D4CCC8
text
#150E08
muted
#837E7B

Preview Lab

Preview with #BA7838

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

Preview Lab → · Contrast checker → · Palette generator →

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