#BA8F2F#BA8F2F

#BA8F2F is a light, vivid orange. Relative luminance 0.303; OKLCH L 67.4% C 0.121 H 83.5°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#BA8F2F
RGBrgb(186, 143, 47)
HSLhsl(41, 60%, 46%)
HSVhsv(41, 75%, 73%)
CMYKcmyk(0%, 23.1%, 74.7%, 27.1%)
CIE-LABlab(61.90, 6.84, 54.49)
CIE-LCHlch(61.90, 54.92, 82.84°)
OKLaboklab(67.41% 0.0137 0.1203)
OKLCHoklch(67.41% 0.121 83.5)
XYZxyz(30.5872, 30.2915, 6.9246)
Luminance0.3029 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8F2F #2F5ABA
analogous
#BA492F #BA8F2F #9FBA2F
triadic
#BA8F2F #2FBA8F #8F2FBA
tetradic
#BA8F2F #2FBA49 #2F5ABA #BA2F9F
square
#BA8F2F #2FBA49 #2F5ABA #BA2F9F
split-complementary
#BA8F2F #2F9FBA #492FBA
monochromatic
#584416 #896923 #BA8F2F #D3AC53 #E0C384

Accessibility & contrast

On white

2.98
#BA8F2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#BA8F2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA8F2F
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8F2F#FFFFFF#000000##000000
##BA8F2F1.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F20
Deuteranopia (green-blind)
#AC9A33
Tritanopia (blue-blind)
#CA817C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ba8f2f;
/* rgb */ color: rgb(186, 143, 47);
/* oklch */ color: oklch(67.4% 0.121 83.5);
Tailwind
colors: {
  custom: {
    50: '#d3af6e',
    500: '#ba8f2f',
    950: '#000000',
  },
}
SCSS
$custom: #ba8f2f;
$custom-light: #d3af6e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8f2f",
  "rgb": {
    "r": 186,
    "g": 143,
    "b": 47
  },
  "hsl": {
    "h": 41.439,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.67413,
    "c": 0.12105,
    "h": 83.5
  },
  "luminance": 0.30289
}

Semantic roles & 50–950 ramp

primary
#BA8F2F
secondary
#7C94C9
accent
#76E345
background
#FDFAF6
surface
#FBF4EC
border
#D4CEC7
text
#151007
muted
#837F7A

Preview Lab

Preview with #BA8F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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