#BA7A2E#BA7A2E

#BA7A2E is a light, moderate orange. Relative luminance 0.246; OKLCH L 63.3% C 0.120 H 66.7°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#BA7A2E
RGBrgb(186, 122, 46)
HSLhsl(33, 60%, 45%)
HSVhsv(33, 75%, 73%)
CMYKcmyk(0%, 34.4%, 75.3%, 27.1%)
CIE-LABlab(56.64, 18.41, 49.71)
CIE-LCHlch(56.64, 53.01, 69.68°)
OKLaboklab(63.3% 0.0474 0.1099)
OKLCHoklch(63.3% 0.12 66.7)
XYZxyz(27.7045, 24.5580, 5.8653)
Luminance0.2455 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7A2E #2E6EBA
analogous
#BA342E #BA7A2E #B4BA2E
triadic
#BA7A2E #2EBA7A #7A2EBA
tetradic
#BA7A2E #2EBA34 #2E6EBA #BA2EB4
square
#BA7A2E #2EBA34 #2E6EBA #BA2EB4
split-complementary
#BA7A2E #2EB4BA #342EBA
monochromatic
#583A16 #895A22 #BA7A2E #D49851 #E0B582

Accessibility & contrast

On white

3.55
#BA7A2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#BA7A2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7A2E
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7A2E#FFFFFF#000000##000000
##BA7A2E1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F24
Deuteranopia (green-blind)
#9E8E30
Tritanopia (blue-blind)
#CB6B6A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba7a2e;
/* rgb */ color: rgb(186, 122, 46);
/* oklch */ color: oklch(63.3% 0.120 66.7);
Tailwind
colors: {
  custom: {
    50: '#d4a06b',
    500: '#ba7a2e',
    950: '#000000',
  },
}
SCSS
$custom: #ba7a2e;
$custom-light: #d4a06b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7a2e",
  "rgb": {
    "r": 186,
    "g": 122,
    "b": 46
  },
  "hsl": {
    "h": 32.571,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.63299,
    "c": 0.11965,
    "h": 66.7
  },
  "luminance": 0.24555
}

Semantic roles & 50–950 ramp

primary
#BA7A2E
secondary
#7B9FC9
accent
#8DE344
background
#FDF9F6
surface
#FBF2EB
border
#D4CCC6
text
#150E07
muted
#837E7A

Preview Lab

Preview with #BA7A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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