#BA7938#BA7938

#BA7938 is a light, moderate orange. Relative luminance 0.244; OKLCH L 63.2% C 0.114 H 62.9°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#BA7938
RGBrgb(186, 121, 56)
HSLhsl(30, 54%, 47%)
HSVhsv(30, 70%, 73%)
CMYKcmyk(0%, 34.9%, 69.9%, 27.1%)
CIE-LABlab(56.49, 19.46, 44.91)
CIE-LCHlch(56.49, 48.95, 66.57°)
OKLaboklab(63.21% 0.0519 0.1017)
OKLCHoklch(63.21% 0.114 62.9)
XYZxyz(27.8029, 24.4019, 6.9864)
Luminance0.2440 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7938 #3879BA
analogous
#BA3838 #BA7938 #BABA38
triadic
#BA7938 #38BA79 #7938BA
tetradic
#BA7938 #38BA38 #3879BA #BA38BA
square
#BA7938 #38BA38 #3879BA #BA38BA
split-complementary
#BA7938 #38BABA #3838BA
monochromatic
#5C3C1C #8B5A2A #BA7938 #CF9860 #DDB68F

Accessibility & contrast

On white

3.57
#BA7938 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#BA7938 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7938
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7938#FFFFFF#000000##000000
##BA79381.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7F31
Deuteranopia (green-blind)
#9D8D39
Tritanopia (blue-blind)
#CB6A6B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ba7938;
/* rgb */ color: rgb(186, 121, 56);
/* oklch */ color: oklch(63.2% 0.114 62.9);
Tailwind
colors: {
  custom: {
    50: '#d3a072',
    500: '#ba7938',
    950: '#000000',
  },
}
SCSS
$custom: #ba7938;
$custom-light: #d3a072;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7938",
  "rgb": {
    "r": 186,
    "g": 121,
    "b": 56
  },
  "hsl": {
    "h": 30,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.63208,
    "c": 0.11415,
    "h": 62.9
  },
  "luminance": 0.24399
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA7938

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

Preview Lab → · Contrast checker → · Palette generator →

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