#9F7317#9F7317

#9F7317 is a mid, moderate orange. Relative luminance 0.197; OKLCH L 58.5% C 0.114 H 79.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9F7317
RGBrgb(159, 115, 23)
HSLhsl(41, 75%, 36%)
HSVhsv(41, 86%, 62%)
CMYKcmyk(0%, 27.7%, 85.5%, 37.6%)
CIE-LABlab(51.49, 9.35, 52.60)
CIE-LCHlch(51.49, 53.43, 79.92°)
OKLaboklab(58.53% 0.0199 0.1123)
OKLCHoklch(58.53% 0.114 79.9)
XYZxyz(20.5850, 19.6959, 3.5280)
Luminance0.1969 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F7317 #17439F
analogous
#9F2F17 #9F7317 #879F17
triadic
#9F7317 #179F73 #73179F
tetradic
#9F7317 #179F2F #17439F #9F1787
square
#9F7317 #179F2F #17439F #9F1787
split-complementary
#9F7317 #17879F #2F179F
monochromatic
#342608 #6A4C0F #9F7317 #D49A1F #E5B34B

Accessibility & contrast

On white

4.25
#9F7317 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#9F7317 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F7317
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F7317#FFFFFF#000000##000000
##9F73171.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#8F7F1C
Tritanopia (blue-blind)
#AE6662
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9f7317;
/* rgb */ color: rgb(159, 115, 23);
/* oklch */ color: oklch(58.5% 0.114 79.9);
Tailwind
colors: {
  custom: {
    50: '#c09b5e',
    500: '#9f7317',
    950: '#000000',
  },
}
SCSS
$custom: #9f7317;
$custom-light: #c09b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f7317",
  "rgb": {
    "r": 159,
    "g": 115,
    "b": 23
  },
  "hsl": {
    "h": 40.588,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58525,
    "c": 0.11401,
    "h": 79.9
  },
  "luminance": 0.19694
}

Semantic roles & 50–950 ramp

primary
#9F7317
secondary
#4B73C7
accent
#73F136
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9F7317

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

Preview Lab → · Contrast checker → · Palette generator →

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