#BA7E4F#BA7E4F

#BA7E4F is a light, moderate orange. Relative luminance 0.259; OKLCH L 64.4% C 0.098 H 58.0°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#BA7E4F
RGBrgb(186, 126, 79)
HSLhsl(26, 44%, 52%)
HSVhsv(26, 58%, 73%)
CMYKcmyk(0%, 32.3%, 57.5%, 27.1%)
CIE-LABlab(57.97, 18.26, 34.76)
CIE-LCHlch(57.97, 39.26, 62.29°)
OKLaboklab(64.44% 0.0518 0.0827)
OKLCHoklch(64.44% 0.098 58)
XYZxyz(29.1236, 25.9277, 10.8663)
Luminance0.2592 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7E4F #4F8BBA
analogous
#BA4F56 #BA7E4F #BAB34F
triadic
#BA7E4F #4FBA7E #7E4FBA
tetradic
#BA7E4F #56BA4F #4F8BBA #B34FBA
square
#BA7E4F #56BA4F #4F8BBA #B34FBA
split-complementary
#BA7E4F #4FBAB3 #4F56BA
monochromatic
#664428 #926039 #BA7E4F #CB9E7B #DCBEA7

Accessibility & contrast

On white

3.40
#BA7E4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#BA7E4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7E4F
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7E4F#FFFFFF#000000##000000
##BA7E4F1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#90834B
Deuteranopia (green-blind)
#9E914F
Tritanopia (blue-blind)
#C97273
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba7e4f;
/* rgb */ color: rgb(186, 126, 79);
/* oklch */ color: oklch(64.4% 0.098 58.0);
Tailwind
colors: {
  custom: {
    50: '#d2a381',
    500: '#ba7e4f',
    950: '#000000',
  },
}
SCSS
$custom: #ba7e4f;
$custom-light: #d2a381;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7e4f",
  "rgb": {
    "r": 186,
    "g": 126,
    "b": 79
  },
  "hsl": {
    "h": 26.355,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.64443,
    "c": 0.09757,
    "h": 58
  },
  "luminance": 0.25925
}

Semantic roles & 50–950 ramp

primary
#BA7E4F
secondary
#9BB5CA
accent
#9CD354
background
#FDFAF7
surface
#FAF3EE
border
#D3CDC9
text
#150F0A
muted
#837F7C

Preview Lab

Preview with #BA7E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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