#BA7B28#BA7B28

#BA7B28 is a light, vivid orange. Relative luminance 0.248; OKLCH L 63.4% C 0.123 H 68.9°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#BA7B28
RGBrgb(186, 123, 40)
HSLhsl(34, 65%, 44%)
HSVhsv(34, 78%, 73%)
CMYKcmyk(0%, 33.9%, 78.5%, 27.1%)
CIE-LABlab(56.84, 17.60, 52.44)
CIE-LCHlch(56.84, 55.32, 71.45°)
OKLaboklab(63.44% 0.0442 0.1143)
OKLCHoklch(63.44% 0.123 68.9)
XYZxyz(27.7178, 24.7608, 5.3266)
Luminance0.2476 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7B28 #2867BA
analogous
#BA3228 #BA7B28 #B0BA28
triadic
#BA7B28 #28BA7B #7B28BA
tetradic
#BA7B28 #28BA32 #2867BA #BA28B0
square
#BA7B28 #28BA32 #2867BA #BA28B0
split-complementary
#BA7B28 #28B0BA #3228BA
monochromatic
#553812 #885A1D #BA7B28 #D89948 #E2B57A

Accessibility & contrast

On white

3.53
#BA7B28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#BA7B28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7B28
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7B28#FFFFFF#000000##000000
##BA7B281.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#90801B
Deuteranopia (green-blind)
#9F8E2A
Tritanopia (blue-blind)
#CB6C6B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba7b28;
/* rgb */ color: rgb(186, 123, 40);
/* oklch */ color: oklch(63.4% 0.123 68.9);
Tailwind
colors: {
  custom: {
    50: '#d4a168',
    500: '#ba7b28',
    950: '#000000',
  },
}
SCSS
$custom: #ba7b28;
$custom-light: #d4a168;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7b28",
  "rgb": {
    "r": 186,
    "g": 123,
    "b": 40
  },
  "hsl": {
    "h": 34.11,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.63441,
    "c": 0.12258,
    "h": 68.9
  },
  "luminance": 0.24758
}

Semantic roles & 50–950 ramp

primary
#BA7B28
secondary
#7399CA
accent
#88E840
background
#FDF9F6
surface
#FBF2EB
border
#D4CCC6
text
#150E06
muted
#837E7A

Preview Lab

Preview with #BA7B28

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

Preview Lab → · Contrast checker → · Palette generator →

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