#BA7C2F#BA7C2F

#BA7C2F is a light, moderate orange. Relative luminance 0.251; OKLCH L 63.7% C 0.119 H 68.1°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#BA7C2F
RGBrgb(186, 124, 47)
HSLhsl(33, 60%, 46%)
HSVhsv(33, 75%, 73%)
CMYKcmyk(0%, 33.3%, 74.7%, 27.1%)
CIE-LABlab(57.14, 17.34, 49.77)
CIE-LCHlch(57.14, 52.70, 70.79°)
OKLaboklab(63.69% 0.0444 0.1102)
OKLCHoklch(63.69% 0.119 68.1)
XYZxyz(27.9726, 25.0622, 6.0531)
Luminance0.2506 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7C2F #2F6DBA
analogous
#BA362F #BA7C2F #B3BA2F
triadic
#BA7C2F #2FBA7C #7C2FBA
tetradic
#BA7C2F #2FBA36 #2F6DBA #BA2FB3
square
#BA7C2F #2FBA36 #2F6DBA #BA2FB3
split-complementary
#BA7C2F #2FB3BA #362FBA
monochromatic
#583B16 #895B23 #BA7C2F #D39A53 #E0B784

Accessibility & contrast

On white

3.49
#BA7C2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#BA7C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7C2F
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7C2F#FFFFFF#000000##000000
##BA7C2F1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918025
Deuteranopia (green-blind)
#9F8F31
Tritanopia (blue-blind)
#CB6D6C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ba7c2f;
/* rgb */ color: rgb(186, 124, 47);
/* oklch */ color: oklch(63.7% 0.119 68.1);
Tailwind
colors: {
  custom: {
    50: '#d4a26c',
    500: '#ba7c2f',
    950: '#000000',
  },
}
SCSS
$custom: #ba7c2f;
$custom-light: #d4a26c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7c2f",
  "rgb": {
    "r": 186,
    "g": 124,
    "b": 47
  },
  "hsl": {
    "h": 33.237,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.63686,
    "c": 0.1188,
    "h": 68.1
  },
  "luminance": 0.2506
}

Semantic roles & 50–950 ramp

primary
#BA7C2F
secondary
#7C9EC9
accent
#8BE345
background
#FDF9F6
surface
#FBF2EC
border
#D4CCC7
text
#150F07
muted
#837E7A

Preview Lab

Preview with #BA7C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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