#9E6817#9E6817

#9E6817 is a mid, moderate orange. Relative luminance 0.172; OKLCH L 56.2% C 0.113 H 71.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9E6817
RGBrgb(158, 104, 23)
HSLhsl(36, 75%, 35%)
HSVhsv(36, 85%, 62%)
CMYKcmyk(0%, 34.2%, 85.4%, 38%)
CIE-LABlab(48.55, 15.17, 50.06)
CIE-LCHlch(48.55, 52.31, 73.14°)
OKLaboklab(56.21% 0.0368 0.1067)
OKLCHoklch(56.21% 0.113 71)
XYZxyz(19.2071, 17.2334, 3.1253)
Luminance0.1723 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E6817 #174D9E
analogous
#9E2417 #9E6817 #909E17
triadic
#9E6817 #179E68 #68179E
tetradic
#9E6817 #179E24 #174D9E #9E1790
square
#9E6817 #179E24 #174D9E #9E1790
split-complementary
#9E6817 #17909E #24179E
monochromatic
#332207 #69450F #9E6817 #D38B1F #E5A74B

Accessibility & contrast

On white

4.72
#9E6817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#9E6817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E6817
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E6817#FFFFFF#000000##FFFFFF
##9E68171.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C03
Deuteranopia (green-blind)
#87781A
Tritanopia (blue-blind)
#AD5A59
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9e6817;
/* rgb */ color: rgb(158, 104, 23);
/* oklch */ color: oklch(56.2% 0.113 71.0);
Tailwind
colors: {
  custom: {
    50: '#c0935d',
    500: '#9e6817',
    950: '#000000',
  },
}
SCSS
$custom: #9e6817;
$custom-light: #c0935d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e6817",
  "rgb": {
    "r": 158,
    "g": 104,
    "b": 23
  },
  "hsl": {
    "h": 36,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56205,
    "c": 0.11287,
    "h": 71
  },
  "luminance": 0.17232
}

Semantic roles & 50–950 ramp

primary
#9E6817
secondary
#4A7CC6
accent
#81F137
background
#FCF9F5
surface
#F8F1E9
border
#D1CBC5
text
#130D04
muted
#827E79

Preview Lab

Preview with #9E6817

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

Preview Lab → · Contrast checker → · Palette generator →

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