#BA7B2F#BA7B2F

#BA7B2F is a light, moderate orange. Relative luminance 0.248; OKLCH L 63.5% C 0.119 H 67.3°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#BA7B2F
RGBrgb(186, 123, 47)
HSLhsl(33, 60%, 46%)
HSVhsv(33, 75%, 73%)
CMYKcmyk(0%, 33.9%, 74.7%, 27.1%)
CIE-LABlab(56.89, 17.90, 49.52)
CIE-LCHlch(56.89, 52.66, 70.13°)
OKLaboklab(63.5% 0.046 0.1097)
OKLCHoklch(63.5% 0.119 67.3)
XYZxyz(27.8479, 24.8128, 6.0115)
Luminance0.2481 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7B2F #2F6EBA
analogous
#BA352F #BA7B2F #B3BA2F
triadic
#BA7B2F #2FBA7B #7B2FBA
tetradic
#BA7B2F #2FBA35 #2F6EBA #BA2FB3
square
#BA7B2F #2FBA35 #2F6EBA #BA2FB3
split-complementary
#BA7B2F #2FB3BA #352FBA
monochromatic
#583A16 #895B23 #BA7B2F #D39953 #E0B684

Accessibility & contrast

On white

3.52
#BA7B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#BA7B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7B2F
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7B2F#FFFFFF#000000##000000
##BA7B2F1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#908025
Deuteranopia (green-blind)
#9F8E31
Tritanopia (blue-blind)
#CB6C6B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba7b2f;
/* rgb */ color: rgb(186, 123, 47);
/* oklch */ color: oklch(63.5% 0.119 67.3);
Tailwind
colors: {
  custom: {
    50: '#d4a16c',
    500: '#ba7b2f',
    950: '#000000',
  },
}
SCSS
$custom: #ba7b2f;
$custom-light: #d4a16c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7b2f",
  "rgb": {
    "r": 186,
    "g": 123,
    "b": 47
  },
  "hsl": {
    "h": 32.806,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.63496,
    "c": 0.11894,
    "h": 67.3
  },
  "luminance": 0.2481
}

Semantic roles & 50–950 ramp

primary
#BA7B2F
secondary
#7C9FC9
accent
#8DE345
background
#FDF9F6
surface
#FBF2EC
border
#D4CCC7
text
#150F07
muted
#837E7A

Preview Lab

Preview with #BA7B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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