#BA8E27#BA8E27

#BA8E27 is a light, vivid orange. Relative luminance 0.299; OKLCH L 67.2% C 0.125 H 83.8°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#BA8E27
RGBrgb(186, 142, 39)
HSLhsl(42, 65%, 44%)
HSVhsv(42, 79%, 73%)
CMYKcmyk(0%, 23.7%, 79%, 27.1%)
CIE-LABlab(61.60, 7.06, 57.25)
CIE-LCHlch(61.60, 57.69, 82.97°)
OKLaboklab(67.16% 0.0135 0.1245)
OKLCHoklch(67.16% 0.125 83.8)
XYZxyz(30.2909, 29.9338, 6.1015)
Luminance0.2993 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8E27 #2753BA
analogous
#BA4527 #BA8E27 #9DBA27
triadic
#BA8E27 #27BA8E #8E27BA
tetradic
#BA8E27 #27BA45 #2753BA #BA279D
square
#BA8E27 #27BA45 #2753BA #BA279D
split-complementary
#BA8E27 #279DBA #4527BA
monochromatic
#554112 #87671C #BA8E27 #D8AC46 #E3C379

Accessibility & contrast

On white

3.01
#BA8E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#BA8E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA8E27
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8E27#FFFFFF#000000##000000
##BA8E271.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E13
Deuteranopia (green-blind)
#AB992C
Tritanopia (blue-blind)
#CA807A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ba8e27;
/* rgb */ color: rgb(186, 142, 39);
/* oklch */ color: oklch(67.2% 0.125 83.8);
Tailwind
colors: {
  custom: {
    50: '#d3ae6a',
    500: '#ba8e27',
    950: '#000000',
  },
}
SCSS
$custom: #ba8e27;
$custom-light: #d3ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8e27",
  "rgb": {
    "r": 186,
    "g": 142,
    "b": 39
  },
  "hsl": {
    "h": 42.041,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.67155,
    "c": 0.12519,
    "h": 83.8
  },
  "luminance": 0.29932
}

Semantic roles & 50–950 ramp

primary
#BA8E27
secondary
#728DCB
accent
#72E840
background
#FDFAF6
surface
#FBF4EB
border
#D4CEC6
text
#151007
muted
#837F7A

Preview Lab

Preview with #BA8E27

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

Preview Lab → · Contrast checker → · Palette generator →

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