#BA8927#BA8927

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

Color values

HEX#BA8927
RGBrgb(186, 137, 39)
HSLhsl(40, 65%, 44%)
HSVhsv(40, 79%, 73%)
CMYKcmyk(0%, 26.3%, 79%, 27.1%)
CIE-LABlab(60.32, 9.81, 56.08)
CIE-LCHlch(60.32, 56.93, 80.08°)
OKLaboklab(66.15% 0.0214 0.1219)
OKLCHoklch(66.15% 0.124 80)
XYZxyz(29.5636, 28.4792, 5.8591)
Luminance0.2848 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8927 #2758BA
analogous
#BA4027 #BA8927 #A2BA27
triadic
#BA8927 #27BA89 #8927BA
tetradic
#BA8927 #27BA40 #2758BA #BA27A2
square
#BA8927 #27BA40 #2758BA #BA27A2
split-complementary
#BA8927 #27A2BA #4027BA
monochromatic
#553E12 #87641C #BA8927 #D8A746 #E3BF79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA8927#FFFFFF#000000##000000
##BA89271.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)
#9C8A15
Deuteranopia (green-blind)
#A8962B
Tritanopia (blue-blind)
#CA7B76
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ba8927;
/* rgb */ color: rgb(186, 137, 39);
/* oklch */ color: oklch(66.2% 0.124 80.0);
Tailwind
colors: {
  custom: {
    50: '#d4ab69',
    500: '#ba8927',
    950: '#000000',
  },
}
SCSS
$custom: #ba8927;
$custom-light: #d4ab69;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8927",
  "rgb": {
    "r": 186,
    "g": 137,
    "b": 39
  },
  "hsl": {
    "h": 40,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.66153,
    "c": 0.12379,
    "h": 80
  },
  "luminance": 0.28477
}

Semantic roles & 50–950 ramp

primary
#BA8927
secondary
#7290CB
accent
#78E840
background
#FDFAF6
surface
#FBF4EB
border
#D4CEC6
text
#151007
muted
#837F7A

Preview Lab

Preview with #BA8927

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

Preview Lab → · Contrast checker → · Palette generator →

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