#9E6717#9E6717

#9E6717 is a mid, moderate orange. Relative luminance 0.170; OKLCH L 56.0% C 0.113 H 70.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9E6717
RGBrgb(158, 103, 23)
HSLhsl(36, 75%, 35%)
HSVhsv(36, 85%, 62%)
CMYKcmyk(0%, 34.8%, 85.4%, 38%)
CIE-LABlab(48.30, 15.74, 49.85)
CIE-LCHlch(48.30, 52.27, 72.48°)
OKLaboklab(56.01% 0.0385 0.1062)
OKLCHoklch(56.01% 0.113 70.1)
XYZxyz(19.1070, 17.0333, 3.0919)
Luminance0.1703 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E6717 #174E9E
analogous
#9E2417 #9E6717 #919E17
triadic
#9E6717 #179E67 #67179E
tetradic
#9E6717 #179E24 #174E9E #9E1791
square
#9E6717 #179E24 #174E9E #9E1791
split-complementary
#9E6717 #17919E #24179E
monochromatic
#332107 #69440F #9E6717 #D38A1F #E5A64B

Accessibility & contrast

On white

4.77
#9E6717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#9E6717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E6717
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E6717#FFFFFF#000000##FFFFFF
##9E67171.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e6717;
/* rgb */ color: rgb(158, 103, 23);
/* oklch */ color: oklch(56.0% 0.113 70.1);
Tailwind
colors: {
  custom: {
    50: '#c0925d',
    500: '#9e6717',
    950: '#000000',
  },
}
SCSS
$custom: #9e6717;
$custom-light: #c0925d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e6717",
  "rgb": {
    "r": 158,
    "g": 103,
    "b": 23
  },
  "hsl": {
    "h": 35.556,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.5601,
    "c": 0.11297,
    "h": 70.1
  },
  "luminance": 0.17031
}

Semantic roles & 50–950 ramp

primary
#9E6717
secondary
#4A7DC6
accent
#83F137
background
#FCF8F5
surface
#F8F0E9
border
#D1CBC5
text
#130D04
muted
#827D79

Preview Lab

Preview with #9E6717

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

Preview Lab → · Contrast checker → · Palette generator →

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