#BA8B2F#BA8B2F

#BA8B2F is a light, moderate orange. Relative luminance 0.291; OKLCH L 66.6% C 0.120 H 80.3°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#BA8B2F
RGBrgb(186, 139, 47)
HSLhsl(40, 60%, 46%)
HSVhsv(40, 75%, 73%)
CMYKcmyk(0%, 25.3%, 74.7%, 27.1%)
CIE-LABlab(60.88, 9.04, 53.48)
CIE-LCHlch(60.88, 54.24, 80.40°)
OKLaboklab(66.61% 0.0201 0.1181)
OKLCHoklch(66.61% 0.12 80.3)
XYZxyz(29.9974, 29.1119, 6.7280)
Luminance0.2911 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8B2F #2F5EBA
analogous
#BA452F #BA8B2F #A3BA2F
triadic
#BA8B2F #2FBA8B #8B2FBA
tetradic
#BA8B2F #2FBA45 #2F5EBA #BA2FA3
square
#BA8B2F #2FBA45 #2F5EBA #BA2FA3
split-complementary
#BA8B2F #2FA3BA #452FBA
monochromatic
#584216 #896623 #BA8B2F #D3A853 #E0C184

Accessibility & contrast

On white

3.08
#BA8B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#BA8B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA8B2F
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8B2F#FFFFFF#000000##000000
##BA8B2F1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C21
Deuteranopia (green-blind)
#A99833
Tritanopia (blue-blind)
#CA7D78
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ba8b2f;
/* rgb */ color: rgb(186, 139, 47);
/* oklch */ color: oklch(66.6% 0.120 80.3);
Tailwind
colors: {
  custom: {
    50: '#d3ac6e',
    500: '#ba8b2f',
    950: '#000000',
  },
}
SCSS
$custom: #ba8b2f;
$custom-light: #d3ac6e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8b2f",
  "rgb": {
    "r": 186,
    "g": 139,
    "b": 47
  },
  "hsl": {
    "h": 39.712,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.66609,
    "c": 0.11983,
    "h": 80.3
  },
  "luminance": 0.2911
}

Semantic roles & 50–950 ramp

primary
#BA8B2F
secondary
#7C96C9
accent
#7AE345
background
#FDFAF6
surface
#FBF4EC
border
#D4CEC7
text
#151007
muted
#837F7A

Preview Lab

Preview with #BA8B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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