#BA8A38#BA8A38

#BA8A38 is a light, moderate orange. Relative luminance 0.289; OKLCH L 66.5% C 0.114 H 77.7°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#BA8A38
RGBrgb(186, 138, 56)
HSLhsl(38, 54%, 47%)
HSVhsv(38, 70%, 73%)
CMYKcmyk(0%, 25.8%, 69.9%, 27.1%)
CIE-LABlab(60.70, 10.05, 49.40)
CIE-LCHlch(60.70, 50.41, 78.50°)
OKLaboklab(66.49% 0.0242 0.1112)
OKLCHoklch(66.49% 0.114 77.7)
XYZxyz(30.0539, 28.9039, 7.7367)
Luminance0.2890 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8A38 #3868BA
analogous
#BA4938 #BA8A38 #A9BA38
triadic
#BA8A38 #38BA8A #8A38BA
tetradic
#BA8A38 #38BA49 #3868BA #BA38A9
square
#BA8A38 #38BA49 #3868BA #BA38A9
split-complementary
#BA8A38 #38A9BA #4938BA
monochromatic
#5C441C #8B672A #BA8A38 #CFA660 #DDC08F

Accessibility & contrast

On white

3.10
#BA8A38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#BA8A38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA8A38
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8A38#FFFFFF#000000##000000
##BA8A381.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8B2E
Deuteranopia (green-blind)
#A8973B
Tritanopia (blue-blind)
#CA7D79
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ba8a38;
/* rgb */ color: rgb(186, 138, 56);
/* oklch */ color: oklch(66.5% 0.114 77.7);
Tailwind
colors: {
  custom: {
    50: '#d3ac73',
    500: '#ba8a38',
    950: '#000000',
  },
}
SCSS
$custom: #ba8a38;
$custom-light: #d3ac73;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8a38",
  "rgb": {
    "r": 186,
    "g": 138,
    "b": 56
  },
  "hsl": {
    "h": 37.846,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.66488,
    "c": 0.11381,
    "h": 77.7
  },
  "luminance": 0.28902
}

Semantic roles & 50–950 ramp

primary
#BA8A38
secondary
#869EC8
accent
#81DD4B
background
#FDFAF7
surface
#FBF4ED
border
#D4CEC8
text
#151008
muted
#837F7B

Preview Lab

Preview with #BA8A38

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

Preview Lab → · Contrast checker → · Palette generator →

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