#BA8A2D#BA8A2D

#BA8A2D is a light, vivid orange. Relative luminance 0.288; OKLCH L 66.4% C 0.121 H 79.9°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#BA8A2D
RGBrgb(186, 138, 45)
HSLhsl(40, 61%, 45%)
HSVhsv(40, 76%, 73%)
CMYKcmyk(0%, 25.8%, 75.8%, 27.1%)
CIE-LABlab(60.61, 9.50, 54.03)
CIE-LCHlch(60.61, 54.86, 80.02°)
OKLaboklab(66.39% 0.0212 0.1189)
OKLCHoklch(66.39% 0.121 79.9)
XYZxyz(29.8138, 28.8078, 6.4723)
Luminance0.2881 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8A2D #2D5DBA
analogous
#BA432D #BA8A2D #A4BA2D
triadic
#BA8A2D #2DBA8A #8A2DBA
tetradic
#BA8A2D #2DBA43 #2D5DBA #BA2DA4
square
#BA8A2D #2DBA43 #2D5DBA #BA2DA4
split-complementary
#BA8A2D #2DA4BA #432DBA
monochromatic
#574115 #896521 #BA8A2D #D5A750 #E0C081

Accessibility & contrast

On white

3.11
#BA8A2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#BA8A2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA8A2D
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8A2D#FFFFFF#000000##000000
##BA8A2D1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B1F
Deuteranopia (green-blind)
#A89731
Tritanopia (blue-blind)
#CA7C77
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ba8a2d;
/* rgb */ color: rgb(186, 138, 45);
/* oklch */ color: oklch(66.4% 0.121 79.9);
Tailwind
colors: {
  custom: {
    50: '#d3ab6c',
    500: '#ba8a2d',
    950: '#000000',
  },
}
SCSS
$custom: #ba8a2d;
$custom-light: #d3ab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8a2d",
  "rgb": {
    "r": 186,
    "g": 138,
    "b": 45
  },
  "hsl": {
    "h": 39.574,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.66394,
    "c": 0.12076,
    "h": 79.9
  },
  "luminance": 0.28806
}

Semantic roles & 50–950 ramp

primary
#BA8A2D
secondary
#7995C9
accent
#7AE444
background
#FDFAF6
surface
#FBF4EC
border
#D4CEC7
text
#151007
muted
#837F7A

Preview Lab

Preview with #BA8A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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