#BA9528#BA9528

#BA9528 is a light, vivid orange. Relative luminance 0.321; OKLCH L 68.6% C 0.128 H 88.8°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#BA9528
RGBrgb(186, 149, 40)
HSLhsl(45, 65%, 44%)
HSVhsv(45, 78%, 73%)
CMYKcmyk(0%, 19.9%, 78.5%, 27.1%)
CIE-LABlab(63.42, 3.27, 58.57)
CIE-LCHlch(63.42, 58.66, 86.81°)
OKLaboklab(68.59% 0.0027 0.1275)
OKLCHoklch(68.59% 0.128 88.8)
XYZxyz(31.3821, 32.0893, 6.5480)
Luminance0.3209 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9528 #284DBA
analogous
#BA4C28 #BA9528 #96BA28
triadic
#BA9528 #28BA95 #9528BA
tetradic
#BA9528 #28BA4C #284DBA #BA2896
square
#BA9528 #28BA4C #284DBA #BA2896
split-complementary
#BA9528 #2896BA #4C28BA
monochromatic
#554412 #886D1D #BA9528 #D8B348 #E2C87A

Accessibility & contrast

On white

2.83
#BA9528 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#BA9528 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9528
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9528#FFFFFF#000000##000000
##BA95281.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79412
Deuteranopia (green-blind)
#B09E2E
Tritanopia (blue-blind)
#CA8880
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ba9528;
/* rgb */ color: rgb(186, 149, 40);
/* oklch */ color: oklch(68.6% 0.128 88.8);
Tailwind
colors: {
  custom: {
    50: '#d3b36b',
    500: '#ba9528',
    950: '#000000',
  },
}
SCSS
$custom: #ba9528;
$custom-light: #d3b36b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9528",
  "rgb": {
    "r": 186,
    "g": 149,
    "b": 40
  },
  "hsl": {
    "h": 44.795,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.68588,
    "c": 0.12753,
    "h": 88.8
  },
  "luminance": 0.32087
}

Semantic roles & 50–950 ramp

primary
#BA9528
secondary
#7389CA
accent
#6BE840
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BA9528

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

Preview Lab → · Contrast checker → · Palette generator →

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