#BA7D2F#BA7D2F

#BA7D2F is a light, moderate orange. Relative luminance 0.253; OKLCH L 63.9% C 0.119 H 68.9°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#BA7D2F
RGBrgb(186, 125, 47)
HSLhsl(34, 60%, 46%)
HSVhsv(34, 75%, 73%)
CMYKcmyk(0%, 32.8%, 74.7%, 27.1%)
CIE-LABlab(57.38, 16.79, 50.01)
CIE-LCHlch(57.38, 52.75, 71.44°)
OKLaboklab(63.88% 0.0427 0.1107)
OKLCHoklch(63.88% 0.119 68.9)
XYZxyz(28.0985, 25.3141, 6.0950)
Luminance0.2531 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7D2F #2F6CBA
analogous
#BA372F #BA7D2F #B1BA2F
triadic
#BA7D2F #2FBA7D #7D2FBA
tetradic
#BA7D2F #2FBA37 #2F6CBA #BA2FB1
square
#BA7D2F #2FBA37 #2F6CBA #BA2FB1
split-complementary
#BA7D2F #2FB1BA #372FBA
monochromatic
#583B16 #895C23 #BA7D2F #D39B53 #E0B784

Accessibility & contrast

On white

3.46
#BA7D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#BA7D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7D2F
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7D2F#FFFFFF#000000##000000
##BA7D2F1.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918125
Deuteranopia (green-blind)
#A09031
Tritanopia (blue-blind)
#CB6E6D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba7d2f;
/* rgb */ color: rgb(186, 125, 47);
/* oklch */ color: oklch(63.9% 0.119 68.9);
Tailwind
colors: {
  custom: {
    50: '#d4a26c',
    500: '#ba7d2f',
    950: '#000000',
  },
}
SCSS
$custom: #ba7d2f;
$custom-light: #d4a26c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7d2f",
  "rgb": {
    "r": 186,
    "g": 125,
    "b": 47
  },
  "hsl": {
    "h": 33.669,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.63876,
    "c": 0.11869,
    "h": 68.9
  },
  "luminance": 0.25312
}

Semantic roles & 50–950 ramp

primary
#BA7D2F
secondary
#7C9EC9
accent
#8AE345
background
#FDFAF6
surface
#FBF3EC
border
#D4CDC7
text
#150F07
muted
#837F7A

Preview Lab

Preview with #BA7D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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