#BA7C28#BA7C28

#BA7C28 is a light, vivid orange. Relative luminance 0.250; OKLCH L 63.6% C 0.122 H 69.7°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#BA7C28
RGBrgb(186, 124, 40)
HSLhsl(35, 65%, 44%)
HSVhsv(35, 78%, 73%)
CMYKcmyk(0%, 33.3%, 78.5%, 27.1%)
CIE-LABlab(57.09, 17.04, 52.67)
CIE-LCHlch(57.09, 55.36, 72.07°)
OKLaboklab(63.63% 0.0426 0.1148)
OKLCHoklch(63.63% 0.122 69.7)
XYZxyz(27.8425, 25.0102, 5.3682)
Luminance0.2501 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7C28 #2866BA
analogous
#BA3328 #BA7C28 #AFBA28
triadic
#BA7C28 #28BA7C #7C28BA
tetradic
#BA7C28 #28BA33 #2866BA #BA28AF
square
#BA7C28 #28BA33 #2866BA #BA28AF
split-complementary
#BA7C28 #28AFBA #3328BA
monochromatic
#553912 #885A1D #BA7C28 #D89A48 #E2B67A

Accessibility & contrast

On white

3.50
#BA7C28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#BA7C28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7C28
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7C28#FFFFFF#000000##000000
##BA7C281.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#91801B
Deuteranopia (green-blind)
#9F8F2A
Tritanopia (blue-blind)
#CB6D6B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ba7c28;
/* rgb */ color: rgb(186, 124, 40);
/* oklch */ color: oklch(63.6% 0.122 69.7);
Tailwind
colors: {
  custom: {
    50: '#d4a268',
    500: '#ba7c28',
    950: '#000000',
  },
}
SCSS
$custom: #ba7c28;
$custom-light: #d4a268;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7c28",
  "rgb": {
    "r": 186,
    "g": 124,
    "b": 40
  },
  "hsl": {
    "h": 34.521,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.6363,
    "c": 0.12247,
    "h": 69.7
  },
  "luminance": 0.25008
}

Semantic roles & 50–950 ramp

primary
#BA7C28
secondary
#7398CA
accent
#87E840
background
#FDF9F6
surface
#FBF2EB
border
#D4CCC6
text
#150F06
muted
#837E7A

Preview Lab

Preview with #BA7C28

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

Preview Lab → · Contrast checker → · Palette generator →

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