#BA8928#BA8928

#BA8928 is a light, vivid orange. Relative luminance 0.285; OKLCH L 66.2% C 0.123 H 79.9°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#BA8928
RGBrgb(186, 137, 40)
HSLhsl(40, 65%, 44%)
HSVhsv(40, 78%, 73%)
CMYKcmyk(0%, 26.3%, 78.5%, 27.1%)
CIE-LABlab(60.33, 9.85, 55.71)
CIE-LCHlch(60.33, 56.57, 79.97°)
OKLaboklab(66.16% 0.0216 0.1214)
OKLCHoklch(66.16% 0.123 79.9)
XYZxyz(29.5804, 28.4860, 5.9475)
Luminance0.2848 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8928 #2859BA
analogous
#BA4028 #BA8928 #A2BA28
triadic
#BA8928 #28BA89 #8928BA
tetradic
#BA8928 #28BA40 #2859BA #BA28A2
square
#BA8928 #28BA40 #2859BA #BA28A2
split-complementary
#BA8928 #28A2BA #4028BA
monochromatic
#553F12 #88641D #BA8928 #D8A748 #E2BF7A

Accessibility & contrast

On white

3.14
#BA8928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#BA8928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA8928
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8928#FFFFFF#000000##000000
##BA89281.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A17
Deuteranopia (green-blind)
#A8962C
Tritanopia (blue-blind)
#CA7B76
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ba8928;
/* rgb */ color: rgb(186, 137, 40);
/* oklch */ color: oklch(66.2% 0.123 79.9);
Tailwind
colors: {
  custom: {
    50: '#d4ab6a',
    500: '#ba8928',
    950: '#000000',
  },
}
SCSS
$custom: #ba8928;
$custom-light: #d4ab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8928",
  "rgb": {
    "r": 186,
    "g": 137,
    "b": 40
  },
  "hsl": {
    "h": 39.863,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.66159,
    "c": 0.12328,
    "h": 79.9
  },
  "luminance": 0.28484
}

Semantic roles & 50–950 ramp

primary
#BA8928
secondary
#7391CA
accent
#78E840
background
#FDFAF6
surface
#FBF4EB
border
#D4CEC6
text
#151007
muted
#837F7A

Preview Lab

Preview with #BA8928

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

Preview Lab → · Contrast checker → · Palette generator →

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