#986B1F#986B1F

#986B1F is a mid, moderate orange. Relative luminance 0.173; OKLCH L 56.1% C 0.105 H 75.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#986B1F
RGBrgb(152, 107, 31)
HSLhsl(38, 66%, 36%)
HSVhsv(38, 80%, 60%)
CMYKcmyk(0%, 29.6%, 79.6%, 40.4%)
CIE-LABlab(48.63, 10.98, 46.87)
CIE-LCHlch(48.63, 48.13, 76.82°)
OKLaboklab(56.11% 0.0259 0.1022)
OKLCHoklch(56.11% 0.105 75.8)
XYZxyz(18.4552, 17.2913, 3.6616)
Luminance0.1729 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986B1F #1F4C98
analogous
#982E1F #986B1F #88981F
triadic
#986B1F #1F986B #6B1F98
tetradic
#986B1F #1F982E #1F4C98 #981F88
square
#986B1F #1F982E #1F4C98 #981F88
split-complementary
#986B1F #1F8898 #2E1F98
monochromatic
#32230A #654715 #986B1F #CB8F29 #DCAA55

Accessibility & contrast

On white

4.71
#986B1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#986B1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #986B1F
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986B1F#FFFFFF#000000##FFFFFF
##986B1F1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D12
Deuteranopia (green-blind)
#867822
Tritanopia (blue-blind)
#A65F5C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #986b1f;
/* rgb */ color: rgb(152, 107, 31);
/* oklch */ color: oklch(56.1% 0.105 75.8);
Tailwind
colors: {
  custom: {
    50: '#bb9561',
    500: '#986b1f',
    950: '#000000',
  },
}
SCSS
$custom: #986b1f;
$custom-light: #bb9561;
$custom-dark: #000000;
JSON
{
  "hex": "#986b1f",
  "rgb": {
    "r": 152,
    "g": 107,
    "b": 31
  },
  "hsl": {
    "h": 37.686,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56114,
    "c": 0.1054,
    "h": 75.8
  },
  "luminance": 0.1729
}

Semantic roles & 50–950 ramp

primary
#986B1F
secondary
#537BC0
accent
#7EE93F
background
#FCF9F5
surface
#F8F1EA
border
#D1CBC6
text
#130D05
muted
#827E79

Preview Lab

Preview with #986B1F

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

Preview Lab → · Contrast checker → · Palette generator →

#986B1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva