#BA7F28#BA7F28

#BA7F28 is a light, vivid orange. Relative luminance 0.258; OKLCH L 64.2% C 0.122 H 72.0°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#BA7F28
RGBrgb(186, 127, 40)
HSLhsl(36, 65%, 44%)
HSVhsv(36, 78%, 73%)
CMYKcmyk(0%, 31.7%, 78.5%, 27.1%)
CIE-LABlab(57.82, 15.38, 53.37)
CIE-LCHlch(57.82, 55.54, 73.92°)
OKLaboklab(64.2% 0.0377 0.1163)
OKLCHoklch(64.2% 0.122 72)
XYZxyz(28.2242, 25.7736, 5.4954)
Luminance0.2577 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7F28 #2863BA
analogous
#BA3628 #BA7F28 #ACBA28
triadic
#BA7F28 #28BA7F #7F28BA
tetradic
#BA7F28 #28BA36 #2863BA #BA28AC
square
#BA7F28 #28BA36 #2863BA #BA28AC
split-complementary
#BA7F28 #28ACBA #3628BA
monochromatic
#553A12 #885D1D #BA7F28 #D89D48 #E2B87A

Accessibility & contrast

On white

3.41
#BA7F28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#BA7F28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7F28
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7F28#FFFFFF#000000##000000
##BA7F281.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#93831A
Deuteranopia (green-blind)
#A1912B
Tritanopia (blue-blind)
#CB706E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba7f28;
/* rgb */ color: rgb(186, 127, 40);
/* oklch */ color: oklch(64.2% 0.122 72.0);
Tailwind
colors: {
  custom: {
    50: '#d4a469',
    500: '#ba7f28',
    950: '#000000',
  },
}
SCSS
$custom: #ba7f28;
$custom-light: #d4a469;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7f28",
  "rgb": {
    "r": 186,
    "g": 127,
    "b": 40
  },
  "hsl": {
    "h": 35.753,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.64203,
    "c": 0.12229,
    "h": 72
  },
  "luminance": 0.25771
}

Semantic roles & 50–950 ramp

primary
#BA7F28
secondary
#7397CA
accent
#84E840
background
#FDFAF6
surface
#FBF4EB
border
#D4CEC6
text
#150F07
muted
#837F7A

Preview Lab

Preview with #BA7F28

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

Preview Lab → · Contrast checker → · Palette generator →

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