#9E7517#9E7517

#9E7517 is a mid, moderate orange. Relative luminance 0.201; OKLCH L 58.8% C 0.114 H 82.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#9E7517
RGBrgb(158, 117, 23)
HSLhsl(42, 75%, 35%)
HSVhsv(42, 85%, 62%)
CMYKcmyk(0%, 25.9%, 85.4%, 38%)
CIE-LABlab(51.90, 7.76, 52.90)
CIE-LCHlch(51.90, 53.47, 81.66°)
OKLaboklab(58.82% 0.0154 0.113)
OKLCHoklch(58.82% 0.114 82.3)
XYZxyz(20.6179, 20.0552, 3.5956)
Luminance0.2005 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E7517 #17409E
analogous
#9E3217 #9E7517 #839E17
triadic
#9E7517 #179E75 #75179E
tetradic
#9E7517 #179E32 #17409E #9E1783
square
#9E7517 #179E32 #17409E #9E1783
split-complementary
#9E7517 #17839E #32179E
monochromatic
#332607 #694D0F #9E7517 #D39D1F #E5B64B

Accessibility & contrast

On white

4.19
#9E7517 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#9E7517 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E7517
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E7517#FFFFFF#000000##000000
##9E75171.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#8F801C
Tritanopia (blue-blind)
#AC6964
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9e7517;
/* rgb */ color: rgb(158, 117, 23);
/* oklch */ color: oklch(58.8% 0.114 82.3);
Tailwind
colors: {
  custom: {
    50: '#c09c5e',
    500: '#9e7517',
    950: '#000000',
  },
}
SCSS
$custom: #9e7517;
$custom-light: #c09c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e7517",
  "rgb": {
    "r": 158,
    "g": 117,
    "b": 23
  },
  "hsl": {
    "h": 41.778,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58819,
    "c": 0.11403,
    "h": 82.3
  },
  "luminance": 0.20054
}

Semantic roles & 50–950 ramp

primary
#9E7517
secondary
#4A70C6
accent
#6FF137
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9E7517

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

Preview Lab → · Contrast checker → · Palette generator →

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