#9F7417#9F7417

#9F7417 is a mid, moderate orange. Relative luminance 0.199; OKLCH L 58.7% C 0.114 H 80.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9F7417
RGBrgb(159, 116, 23)
HSLhsl(41, 75%, 36%)
HSVhsv(41, 86%, 62%)
CMYKcmyk(0%, 27%, 85.5%, 37.6%)
CIE-LABlab(51.75, 8.79, 52.82)
CIE-LCHlch(51.75, 53.55, 80.56°)
OKLaboklab(58.73% 0.0183 0.1128)
OKLCHoklch(58.73% 0.114 80.8)
XYZxyz(20.6996, 19.9252, 3.5662)
Luminance0.1992 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F7417 #17429F
analogous
#9F3017 #9F7417 #869F17
triadic
#9F7417 #179F74 #74179F
tetradic
#9F7417 #179F30 #17429F #9F1786
square
#9F7417 #179F30 #17429F #9F1786
split-complementary
#9F7417 #17869F #30179F
monochromatic
#342608 #6A4D0F #9F7417 #D49B1F #E5B44B

Accessibility & contrast

On white

4.21
#9F7417 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#9F7417 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F7417
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F7417#FFFFFF#000000##000000
##9F74171.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#8F801C
Tritanopia (blue-blind)
#AD6763
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9f7417;
/* rgb */ color: rgb(159, 116, 23);
/* oklch */ color: oklch(58.7% 0.114 80.8);
Tailwind
colors: {
  custom: {
    50: '#c09b5e',
    500: '#9f7417',
    950: '#000000',
  },
}
SCSS
$custom: #9f7417;
$custom-light: #c09b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f7417",
  "rgb": {
    "r": 159,
    "g": 116,
    "b": 23
  },
  "hsl": {
    "h": 41.029,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.5873,
    "c": 0.11422,
    "h": 80.8
  },
  "luminance": 0.19924
}

Semantic roles & 50–950 ramp

primary
#9F7417
secondary
#4B72C7
accent
#72F136
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9F7417

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

Preview Lab → · Contrast checker → · Palette generator →

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