#BA7E2C#BA7E2C

#BA7E2C is a light, vivid orange. Relative luminance 0.255; OKLCH L 64.0% C 0.120 H 70.4°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#BA7E2C
RGBrgb(186, 126, 44)
HSLhsl(35, 62%, 45%)
HSVhsv(35, 76%, 73%)
CMYKcmyk(0%, 32.3%, 76.3%, 27.1%)
CIE-LABlab(57.60, 16.10, 51.52)
CIE-LCHlch(57.60, 53.98, 72.65°)
OKLaboklab(64.04% 0.0403 0.1133)
OKLCHoklch(64.04% 0.12 70.4)
XYZxyz(28.1673, 25.5452, 5.8296)
Luminance0.2554 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7E2C #2C68BA
analogous
#BA372C #BA7E2C #AFBA2C
triadic
#BA7E2C #2CBA7E #7E2CBA
tetradic
#BA7E2C #2CBA37 #2C68BA #BA2CAF
square
#BA7E2C #2CBA37 #2C68BA #BA2CAF
split-complementary
#BA7E2C #2CAFBA #372CBA
monochromatic
#573B15 #895C20 #BA7E2C #D59C4E #E1B880

Accessibility & contrast

On white

3.44
#BA7E2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#BA7E2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7E2C
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7E2C#FFFFFF#000000##000000
##BA7E2C1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928220
Deuteranopia (green-blind)
#A1902E
Tritanopia (blue-blind)
#CB6F6D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba7e2c;
/* rgb */ color: rgb(186, 126, 44);
/* oklch */ color: oklch(64.0% 0.120 70.4);
Tailwind
colors: {
  custom: {
    50: '#d4a36b',
    500: '#ba7e2c',
    950: '#000000',
  },
}
SCSS
$custom: #ba7e2c;
$custom-light: #d4a36b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7e2c",
  "rgb": {
    "r": 186,
    "g": 126,
    "b": 44
  },
  "hsl": {
    "h": 34.648,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.64042,
    "c": 0.12026,
    "h": 70.4
  },
  "luminance": 0.25543
}

Semantic roles & 50–950 ramp

primary
#BA7E2C
secondary
#789BCA
accent
#87E543
background
#FDFAF6
surface
#FBF3EB
border
#D4CDC6
text
#150F07
muted
#837F7A

Preview Lab

Preview with #BA7E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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