#9E7717#9E7717

#9E7717 is a mid, moderate orange. Relative luminance 0.205; OKLCH L 59.2% C 0.115 H 83.9°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9E7717
RGBrgb(158, 119, 23)
HSLhsl(43, 75%, 35%)
HSVhsv(43, 85%, 62%)
CMYKcmyk(0%, 24.7%, 85.4%, 38%)
CIE-LABlab(52.43, 6.62, 53.35)
CIE-LCHlch(52.43, 53.76, 82.92°)
OKLaboklab(59.23% 0.0121 0.114)
OKLCHoklch(59.23% 0.115 83.9)
XYZxyz(20.8535, 20.5262, 3.6741)
Luminance0.2052 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E7717 #173E9E
analogous
#9E3417 #9E7717 #819E17
triadic
#9E7717 #179E77 #77179E
tetradic
#9E7717 #179E34 #173E9E #9E1781
square
#9E7717 #179E34 #173E9E #9E1781
split-complementary
#9E7717 #17819E #34179E
monochromatic
#332707 #694F0F #9E7717 #D39F1F #E5B84B

Accessibility & contrast

On white

4.11
#9E7717 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#9E7717 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E7717
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E7717#FFFFFF#000000##000000
##9E77171.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#91811D
Tritanopia (blue-blind)
#AC6B66
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9e7717;
/* rgb */ color: rgb(158, 119, 23);
/* oklch */ color: oklch(59.2% 0.115 83.9);
Tailwind
colors: {
  custom: {
    50: '#c09d5f',
    500: '#9e7717',
    950: '#000000',
  },
}
SCSS
$custom: #9e7717;
$custom-light: #c09d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e7717",
  "rgb": {
    "r": 158,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 42.667,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59233,
    "c": 0.11461,
    "h": 83.9
  },
  "luminance": 0.20525
}

Semantic roles & 50–950 ramp

primary
#9E7717
secondary
#4A6EC6
accent
#6CF137
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9E7717

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

Preview Lab → · Contrast checker → · Palette generator →

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