#9E6B1F#9E6B1F

#9E6B1F is a mid, moderate orange. Relative luminance 0.179; OKLCH L 56.8% C 0.109 H 72.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9E6B1F
RGBrgb(158, 107, 31)
HSLhsl(36, 67%, 37%)
HSVhsv(36, 80%, 62%)
CMYKcmyk(0%, 32.3%, 80.4%, 38%)
CIE-LABlab(49.36, 13.73, 47.81)
CIE-LCHlch(49.36, 49.74, 73.98°)
OKLaboklab(56.85% 0.0335 0.1039)
OKLCHoklch(56.85% 0.109 72.1)
XYZxyz(19.6071, 17.8852, 3.7156)
Luminance0.1788 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E6B1F #1F529E
analogous
#9E2C1F #9E6B1F #919E1F
triadic
#9E6B1F #1F9E6B #6B1F9E
tetradic
#9E6B1F #1F9E2C #1F529E #9E1F91
square
#9E6B1F #1F9E2C #1F529E #9E1F91
split-complementary
#9E6B1F #1F919E #2C1F9E
monochromatic
#38260B #6B4815 #9E6B1F #D18E29 #DEA959

Accessibility & contrast

On white

4.59
#9E6B1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#9E6B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9E6B1F
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E6B1F#FFFFFF#000000##FFFFFF
##9E6B1F1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E12
Deuteranopia (green-blind)
#897A21
Tritanopia (blue-blind)
#AD5E5C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9e6b1f;
/* rgb */ color: rgb(158, 107, 31);
/* oklch */ color: oklch(56.8% 0.109 72.1);
Tailwind
colors: {
  custom: {
    50: '#c09561',
    500: '#9e6b1f',
    950: '#000000',
  },
}
SCSS
$custom: #9e6b1f;
$custom-light: #c09561;
$custom-dark: #000000;
JSON
{
  "hex": "#9e6b1f",
  "rgb": {
    "r": 158,
    "g": 107,
    "b": 31
  },
  "hsl": {
    "h": 35.906,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.56845,
    "c": 0.10913,
    "h": 72.1
  },
  "luminance": 0.17883
}

Semantic roles & 50–950 ramp

primary
#9E6B1F
secondary
#5682C2
accent
#83EA3E
background
#FCF9F5
surface
#F8F1EA
border
#D1CBC6
text
#130D05
muted
#827E79

Preview Lab

Preview with #9E6B1F

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

Preview Lab → · Contrast checker → · Palette generator →

#9E6B1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva