#BA8E2F#BA8E2F

#BA8E2F is a light, vivid orange. Relative luminance 0.300; OKLCH L 67.2% C 0.121 H 82.7°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#BA8E2F
RGBrgb(186, 142, 47)
HSLhsl(41, 60%, 46%)
HSVhsv(41, 75%, 73%)
CMYKcmyk(0%, 23.7%, 74.7%, 27.1%)
CIE-LABlab(61.65, 7.39, 54.24)
CIE-LCHlch(61.65, 54.74, 82.24°)
OKLaboklab(67.21% 0.0153 0.1197)
OKLCHoklch(67.21% 0.121 82.7)
XYZxyz(30.4377, 29.9926, 6.8748)
Luminance0.2999 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8E2F #2F5BBA
analogous
#BA482F #BA8E2F #A0BA2F
triadic
#BA8E2F #2FBA8E #8E2FBA
tetradic
#BA8E2F #2FBA48 #2F5BBA #BA2FA0
square
#BA8E2F #2FBA48 #2F5BBA #BA2FA0
split-complementary
#BA8E2F #2FA0BA #482FBA
monochromatic
#584316 #896923 #BA8E2F #D3AB53 #E0C384

Accessibility & contrast

On white

3.00
#BA8E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#BA8E2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA8E2F
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8E2F#FFFFFF#000000##000000
##BA8E2F1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E21
Deuteranopia (green-blind)
#AB9933
Tritanopia (blue-blind)
#CA807B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ba8e2f;
/* rgb */ color: rgb(186, 142, 47);
/* oklch */ color: oklch(67.2% 0.121 82.7);
Tailwind
colors: {
  custom: {
    50: '#d3ae6e',
    500: '#ba8e2f',
    950: '#000000',
  },
}
SCSS
$custom: #ba8e2f;
$custom-light: #d3ae6e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8e2f",
  "rgb": {
    "r": 186,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 41.007,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.67211,
    "c": 0.12071,
    "h": 82.7
  },
  "luminance": 0.2999
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA8E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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