#9F7517#9F7517

#9F7517 is a mid, moderate orange. Relative luminance 0.202; OKLCH L 58.9% C 0.114 H 81.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9F7517
RGBrgb(159, 117, 23)
HSLhsl(41, 75%, 36%)
HSVhsv(41, 86%, 62%)
CMYKcmyk(0%, 26.4%, 85.5%, 37.6%)
CIE-LABlab(52.01, 8.22, 53.05)
CIE-LCHlch(52.01, 53.68, 81.19°)
OKLaboklab(58.94% 0.0166 0.1132)
OKLCHoklch(58.94% 0.114 81.6)
XYZxyz(20.8155, 20.1570, 3.6048)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F7517 #17419F
analogous
#9F3117 #9F7517 #859F17
triadic
#9F7517 #179F75 #75179F
tetradic
#9F7517 #179F31 #17419F #9F1785
square
#9F7517 #179F31 #17419F #9F1785
split-complementary
#9F7517 #17859F #31179F
monochromatic
#342608 #6A4E0F #9F7517 #D49C1F #E5B64B

Accessibility & contrast

On white

4.17
#9F7517 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#9F7517 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F7517
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F7517#FFFFFF#000000##000000
##9F75171.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#90801C
Tritanopia (blue-blind)
#AD6864
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9f7517;
/* rgb */ color: rgb(159, 117, 23);
/* oklch */ color: oklch(58.9% 0.114 81.6);
Tailwind
colors: {
  custom: {
    50: '#c09c5e',
    500: '#9f7517',
    950: '#000000',
  },
}
SCSS
$custom: #9f7517;
$custom-light: #c09c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f7517",
  "rgb": {
    "r": 159,
    "g": 117,
    "b": 23
  },
  "hsl": {
    "h": 41.471,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58935,
    "c": 0.11445,
    "h": 81.6
  },
  "luminance": 0.20155
}

Semantic roles & 50–950 ramp

primary
#9F7517
secondary
#4B71C7
accent
#70F136
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9F7517

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

Preview Lab → · Contrast checker → · Palette generator →

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