#BA7D38#BA7D38

#BA7D38 is a light, moderate orange. Relative luminance 0.254; OKLCH L 64.0% C 0.113 H 66.4°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#BA7D38
RGBrgb(186, 125, 56)
HSLhsl(32, 54%, 47%)
HSVhsv(32, 70%, 73%)
CMYKcmyk(0%, 32.8%, 69.9%, 27.1%)
CIE-LABlab(57.46, 17.25, 45.96)
CIE-LCHlch(57.46, 49.09, 69.43°)
OKLaboklab(63.96% 0.0454 0.1039)
OKLCHoklch(63.96% 0.113 66.4)
XYZxyz(28.2992, 25.3944, 7.1518)
Luminance0.2539 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7D38 #3875BA
analogous
#BA3C38 #BA7D38 #B6BA38
triadic
#BA7D38 #38BA7D #7D38BA
tetradic
#BA7D38 #38BA3C #3875BA #BA38B6
square
#BA7D38 #38BA3C #3875BA #BA38B6
split-complementary
#BA7D38 #38B6BA #3C38BA
monochromatic
#5C3E1C #8B5D2A #BA7D38 #CF9B60 #DDB98F

Accessibility & contrast

On white

3.45
#BA7D38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#BA7D38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7D38
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7D38#FFFFFF#000000##000000
##BA7D381.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918230
Deuteranopia (green-blind)
#9F9039
Tritanopia (blue-blind)
#CA6F6E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba7d38;
/* rgb */ color: rgb(186, 125, 56);
/* oklch */ color: oklch(64.0% 0.113 66.4);
Tailwind
colors: {
  custom: {
    50: '#d3a272',
    500: '#ba7d38',
    950: '#000000',
  },
}
SCSS
$custom: #ba7d38;
$custom-light: #d3a272;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7d38",
  "rgb": {
    "r": 186,
    "g": 125,
    "b": 56
  },
  "hsl": {
    "h": 31.846,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.63961,
    "c": 0.11335,
    "h": 66.4
  },
  "luminance": 0.25392
}

Semantic roles & 50–950 ramp

primary
#BA7D38
secondary
#86A5C8
accent
#8FDD4B
background
#FDFAF7
surface
#FBF3ED
border
#D4CDC8
text
#150F08
muted
#837F7B

Preview Lab

Preview with #BA7D38

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

Preview Lab → · Contrast checker → · Palette generator →

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