#BA942F#BA942F

#BA942F is a light, vivid orange. Relative luminance 0.318; OKLCH L 68.4% C 0.123 H 87.3°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#BA942F
RGBrgb(186, 148, 47)
HSLhsl(44, 60%, 46%)
HSVhsv(44, 75%, 73%)
CMYKcmyk(0%, 20.4%, 74.7%, 27.1%)
CIE-LABlab(63.20, 4.11, 55.75)
CIE-LCHlch(63.20, 55.90, 85.79°)
OKLaboklab(68.43% 0.0059 0.123)
OKLCHoklch(68.43% 0.123 87.3)
XYZxyz(31.3546, 31.8262, 7.1804)
Luminance0.3182 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA942F #2F55BA
analogous
#BA4E2F #BA942F #9ABA2F
triadic
#BA942F #2FBA94 #942FBA
tetradic
#BA942F #2FBA4E #2F55BA #BA2F9A
square
#BA942F #2FBA4E #2F55BA #BA2F9A
split-complementary
#BA942F #2F9ABA #4E2FBA
monochromatic
#584616 #896D23 #BA942F #D3B053 #E0C784

Accessibility & contrast

On white

2.85
#BA942F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#BA942F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA942F
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA942F#FFFFFF#000000##000000
##BA942F1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931F
Deuteranopia (green-blind)
#AF9D34
Tritanopia (blue-blind)
#CA8780
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ba942f;
/* rgb */ color: rgb(186, 148, 47);
/* oklch */ color: oklch(68.4% 0.123 87.3);
Tailwind
colors: {
  custom: {
    50: '#d3b36e',
    500: '#ba942f',
    950: '#000000',
  },
}
SCSS
$custom: #ba942f;
$custom-light: #d3b36e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba942f",
  "rgb": {
    "r": 186,
    "g": 148,
    "b": 47
  },
  "hsl": {
    "h": 43.597,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.6843,
    "c": 0.12309,
    "h": 87.3
  },
  "luminance": 0.31824
}

Semantic roles & 50–950 ramp

primary
#BA942F
secondary
#7C91C9
accent
#70E345
background
#FDFAF6
surface
#FBF5EC
border
#D4CFC7
text
#151008
muted
#837F7B

Preview Lab

Preview with #BA942F

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

Preview Lab → · Contrast checker → · Palette generator →

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