#BA7128#BA7128

#BA7128 is a mid, vivid orange. Relative luminance 0.224; OKLCH L 61.6% C 0.125 H 61.1°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#BA7128
RGBrgb(186, 113, 40)
HSLhsl(30, 65%, 44%)
HSVhsv(30, 78%, 73%)
CMYKcmyk(0%, 39.2%, 78.5%, 27.1%)
CIE-LABlab(54.45, 23.12, 50.17)
CIE-LCHlch(54.45, 55.24, 65.25°)
OKLaboklab(61.59% 0.0605 0.1095)
OKLCHoklch(61.59% 0.125 61.1)
XYZxyz(26.5401, 22.4053, 4.9340)
Luminance0.2240 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7128 #2871BA
analogous
#BA2828 #BA7128 #BABA28
triadic
#BA7128 #28BA71 #7128BA
tetradic
#BA7128 #28BA28 #2871BA #BA28BA
square
#BA7128 #28BA28 #2871BA #BA28BA
split-complementary
#BA7128 #28BABA #2828BA
monochromatic
#553412 #88521D #BA7128 #D89048 #E2AE7A

Accessibility & contrast

On white

3.83
#BA7128 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#BA7128 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7128
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7128#FFFFFF#000000##000000
##BA71281.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#88781D
Deuteranopia (green-blind)
#998929
Tritanopia (blue-blind)
#CB6162
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ba7128;
/* rgb */ color: rgb(186, 113, 40);
/* oklch */ color: oklch(61.6% 0.125 61.1);
Tailwind
colors: {
  custom: {
    50: '#d59a67',
    500: '#ba7128',
    950: '#000000',
  },
}
SCSS
$custom: #ba7128;
$custom-light: #d59a67;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7128",
  "rgb": {
    "r": 186,
    "g": 113,
    "b": 40
  },
  "hsl": {
    "h": 30,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.61589,
    "c": 0.12504,
    "h": 61.1
  },
  "luminance": 0.22403
}

Semantic roles & 50–950 ramp

primary
#BA7128
secondary
#739FCA
accent
#94E840
background
#FDF9F6
surface
#FBF2EB
border
#D4CCC6
text
#150E06
muted
#837E7A

Preview Lab

Preview with #BA7128

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

Preview Lab → · Contrast checker → · Palette generator →

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