#BA8F28#BA8F28

#BA8F28 is a light, vivid orange. Relative luminance 0.302; OKLCH L 67.4% C 0.125 H 84.4°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#BA8F28
RGBrgb(186, 143, 40)
HSLhsl(42, 65%, 44%)
HSVhsv(42, 78%, 73%)
CMYKcmyk(0%, 23.1%, 78.5%, 27.1%)
CIE-LABlab(61.86, 6.55, 57.13)
CIE-LCHlch(61.86, 57.51, 83.46°)
OKLaboklab(67.36% 0.0121 0.1244)
OKLCHoklch(67.36% 0.125 84.4)
XYZxyz(30.4571, 30.2394, 6.2397)
Luminance0.3024 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8F28 #2853BA
analogous
#BA4628 #BA8F28 #9CBA28
triadic
#BA8F28 #28BA8F #8F28BA
tetradic
#BA8F28 #28BA46 #2853BA #BA289C
square
#BA8F28 #28BA46 #2853BA #BA289C
split-complementary
#BA8F28 #289CBA #4628BA
monochromatic
#554212 #88681D #BA8F28 #D8AD48 #E2C47A

Accessibility & contrast

On white

2.98
#BA8F28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#BA8F28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA8F28
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8F28#FFFFFF#000000##000000
##BA8F281.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F14
Deuteranopia (green-blind)
#AC9A2D
Tritanopia (blue-blind)
#CA817B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ba8f28;
/* rgb */ color: rgb(186, 143, 40);
/* oklch */ color: oklch(67.4% 0.125 84.4);
Tailwind
colors: {
  custom: {
    50: '#d3af6a',
    500: '#ba8f28',
    950: '#000000',
  },
}
SCSS
$custom: #ba8f28;
$custom-light: #d3af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8f28",
  "rgb": {
    "r": 186,
    "g": 143,
    "b": 40
  },
  "hsl": {
    "h": 42.329,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.67363,
    "c": 0.12501,
    "h": 84.4
  },
  "luminance": 0.30237
}

Semantic roles & 50–950 ramp

primary
#BA8F28
secondary
#738DCA
accent
#72E840
background
#FDFAF6
surface
#FBF4EB
border
#D4CEC6
text
#151007
muted
#837F7A

Preview Lab

Preview with #BA8F28

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

Preview Lab → · Contrast checker → · Palette generator →

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